HI
I changed the path to: C:\Android\platforms\android-28\android.jar
Now I get this error:
This error is about getting permission to show personalized ads.
When I try to display an interstitial ad I get this error:
everything worked well on C:\Android\platforms\android-27\android.jar
I changed the path to: C:\Android\platforms\android-28\android.jar
Now I get this error:
B4X:
--------- beginning of crash
java.lang.RuntimeException: Unable to instantiate service anywheresoftware.b4a.objects.FirebaseNotificationsService: java.lang.ClassNotFoundException: Didn't find class "anywheresoftware.b4a.objects.FirebaseNotificationsService" on path: DexPathList[[zip file "/data/app/xxxxx.xxxxxx-WZPXXXXX_XXXXX8MA==/base.apk"],nativeLibraryDirectories=[/data/app/xxxxx.xxxxxx-WZPXXXXX_XXXXX8MA==/lib/arm64, /system/lib64, /system/vendor/lib64]]
at android.app.ActivityThread.handleCreateService(ActivityThread.java:3459)
at android.app.ActivityThread.-wrap4(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1702)
at android.os.Handler.dispatchMessage(Handler.java:105)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6710)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:770)
Caused by: java.lang.ClassNotFoundException: Didn't find class "anywheresoftware.b4a.objects.FirebaseNotificationsService" on path: DexPathList[[zip file "/data/app/xxxxx.xxxxxx-WZPXXXXX_XXXXX8MA==/base.apk"],nativeLibraryDirectories=[/data/app/xxxxx.xxxxxx-WZPXXXXX_XXXXX8MA==/lib/arm64, /system/lib64, /system/vendor/lib64]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:93)
at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:3456)
... 8 more
This error is about getting permission to show personalized ads.
When I try to display an interstitial ad I get this error:
B4X:
** Activity (ust1) Resume **
Error occurred on line: 111 (ust1)
java.lang.RuntimeException: Object should first be initialized (InterstitialAd).
at anywheresoftware.b4a.AbsObjectWrapper.getObject(AbsObjectWrapper.java:50)
at anywheresoftware.b4a.admobwrapper.AdViewWrapper$InterstitialAdWrapper.getReady(AdViewWrapper.java:333)
at finder.finder.ust1._reklama(ust1.java:550)
at finder.finder.ust1._activity_keypress(ust1.java:523)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:738)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:357)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:260)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:144)
at finder.finder.ust1$HandleKeyDelayed.runDirectly(ust1.java:230)
at finder.finder.ust1$HandleKeyDelayed.run(ust1.java:227)
at android.os.Handler.handleCallback(Handler.java:789)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6710)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:770)
everything worked well on C:\Android\platforms\android-27\android.jar
Last edited: