Dear All,
I had been checking all the previous forum thread on this issue :
The error code is :
Running main
** Activity (main) Resume **
*** Service (firebasemessaging) Create ***
** Service (firebasemessaging) Start **
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/etp.pushexample-Oh2-nOhEYhTMaMxKZYg2NQ==/base.apk)
at anywheresoftware.b4a.objects.FirebaseNotificationsService$FirebaseMessageWrapper.SubscribeToTopic(FirebaseNotificationsService.java:130)
at etp.pushexample.firebasemessaging._subscribetotopics(firebasemessaging.java:263)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:732)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:348)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:255)
The issue about no such method as according to some thread is due to build & run time library(class) is different. But how I update B4 internal library folder, java version whatsoever, it is still the same.
Kindly help me on the issue above.
Thanks.
Regards,
Liew
I had been checking all the previous forum thread on this issue :
The error code is :
Running main
** Activity (main) Resume **
*** Service (firebasemessaging) Create ***
** Service (firebasemessaging) Start **
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/etp.pushexample-Oh2-nOhEYhTMaMxKZYg2NQ==/base.apk)
at anywheresoftware.b4a.objects.FirebaseNotificationsService$FirebaseMessageWrapper.SubscribeToTopic(FirebaseNotificationsService.java:130)
at etp.pushexample.firebasemessaging._subscribetotopics(firebasemessaging.java:263)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:732)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:348)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:255)
The issue about no such method as according to some thread is due to build & run time library(class) is different. But how I update B4 internal library folder, java version whatsoever, it is still the same.
Kindly help me on the issue above.
Thanks.
Regards,
Liew