Alberto Iglesias Well-Known Member Licensed User Longtime User Jan 23, 2019 #1 Hello everyone, I still have this problem even follow the instructions below. java.lang.NoSuchMethodError: No virtual method subscribeToTopic(Ljava/lang/StringLcom/google/android/gms/tasks/Task; in class Lcom/google/firebase/messaging/FirebaseMessaging; or its super classes (declaration of 'com.google.firebase.messaging.FirebaseMessaging' appears in /data/app/com.visualnet.geracao-2/base.apk) I'm using the latest library, as appear: and the latest SDK oriented Instructions provided by @Erel You are not using the latest version of FirebaseNotifications. 1. Carefully follow these instructions: https://www.b4x.com/android/forum/threads/firebase-notifications-firebase-auth-issues.94200/ 2. Make sure to copy the updated libraries to the internal libraries folder. Any ideas? I'm have one stopped project because I cant solve this problem..... Thanks in advance Alberto Iglesias
Hello everyone, I still have this problem even follow the instructions below. java.lang.NoSuchMethodError: No virtual method subscribeToTopic(Ljava/lang/StringLcom/google/android/gms/tasks/Task; in class Lcom/google/firebase/messaging/FirebaseMessaging; or its super classes (declaration of 'com.google.firebase.messaging.FirebaseMessaging' appears in /data/app/com.visualnet.geracao-2/base.apk) I'm using the latest library, as appear: and the latest SDK oriented Instructions provided by @Erel You are not using the latest version of FirebaseNotifications. 1. Carefully follow these instructions: https://www.b4x.com/android/forum/threads/firebase-notifications-firebase-auth-issues.94200/ 2. Make sure to copy the updated libraries to the internal libraries folder. Any ideas? I'm have one stopped project because I cant solve this problem..... Thanks in advance Alberto Iglesias
Erel B4X founder Staff member Licensed User Longtime User Jan 23, 2019 #2 Please post the path in B4A Sdk Manager and the path of android.jar under Tools - Configure Paths. Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jan 23, 2019 #4 It should be android-28\android.jar. Though I don't know if it is related to the error you encounter. If it doesn't solve it then delete Android SDK and install it again based on the installation instructions. All other developers were able to solve this issue. Upvote 0
It should be android-28\android.jar. Though I don't know if it is related to the error you encounter. If it doesn't solve it then delete Android SDK and install it again based on the installation instructions. All other developers were able to solve this issue.
Alberto Iglesias Well-Known Member Licensed User Longtime User Jan 24, 2019 #5 Finally works! After reinstall everything in one machine, I prepared a zip file with all android-sdk you need for fix this: Step 1: Just unzip this file below on this folder c:\android\android-sdk http://vnsoft.es/download/b4a/sdk/android-sdk.zip Step 2: Configure IDE to get the android.jar as image below Step 3: Configure SDK Manger as image below Just that! Now Firebase-Notifications and everything is working properly! Thanks @Erel Upvote 0
Finally works! After reinstall everything in one machine, I prepared a zip file with all android-sdk you need for fix this: Step 1: Just unzip this file below on this folder c:\android\android-sdk http://vnsoft.es/download/b4a/sdk/android-sdk.zip Step 2: Configure IDE to get the android.jar as image below Step 3: Configure SDK Manger as image below Just that! Now Firebase-Notifications and everything is working properly! Thanks @Erel
A Andie Member Licensed User Longtime User Jul 5, 2019 #6 I got the same problems. Thanks for your zipped SDK. It helped. Upvote 0