Hi,
I'm trying to compile an apk using B4A V8 and got the error:
java.lang.NoSuchMethodError: No virtual method subscribeToTopic(Ljava/lang/StringV in class Lcom/google/firebase/messaging/FirebaseMessaging; or its super classes (declaration of 'com.google.firebase.messaging.FirebaseMessaging' appears in /data/app/com.comten.nexphone-2/base.apk)
The compilation was running without any error in B4A V7... what's wrong?
Like recommended, I added the lines to Manifest:
CreateResourceFromFile(Macro, FirebaseAnalytics.GooglePlayBase)
CreateResourceFromFile(Macro, FirebaseAnalytics.Firebase)
CreateResourceFromFile(Macro, FirebaseNotifications.FirebaseNotifications)
CreateResourceFromFile("google-services", "google-services.json")
Doesn't work either . I'm seriously thinking to do a downgrade to B4A 7...
I'm trying to compile an apk using B4A V8 and got the error:
java.lang.NoSuchMethodError: No virtual method subscribeToTopic(Ljava/lang/StringV in class Lcom/google/firebase/messaging/FirebaseMessaging; or its super classes (declaration of 'com.google.firebase.messaging.FirebaseMessaging' appears in /data/app/com.comten.nexphone-2/base.apk)
The compilation was running without any error in B4A V7... what's wrong?
Like recommended, I added the lines to Manifest:
CreateResourceFromFile(Macro, FirebaseAnalytics.GooglePlayBase)
CreateResourceFromFile(Macro, FirebaseAnalytics.Firebase)
CreateResourceFromFile(Macro, FirebaseNotifications.FirebaseNotifications)
CreateResourceFromFile("google-services", "google-services.json")
Doesn't work either . I'm seriously thinking to do a downgrade to B4A 7...
Last edited: