1. My App Manifest
'AdMob
AddReplacement($ADMOB_APP_ID$, ca-app-pub-5493432897041164~5486962956)
CreateResourceFromFile(Macro, FirebaseAnalytics.GooglePlayBase)
CreateResourceFromFile(Macro, FirebaseAnalytics.Firebase)
CreateResourceFromFile(Macro, FirebaseAdMob.FirebaseAds)
CreateResourceFromFile(Macro, FirebaseAnalytics.FirebaseAnalytics)
'CreateResourceFromFile(Macro, FirebaseNotifications.FirebaseNotifications)
'CreateResourceFromFile(Macro, FirebaseAuth.FirebaseAuth)
AddApplicationText(
<meta-data
android:name="com.google.android.gms.ads.APPLICATION_ID"
android:value="ca-app-pub-5493432897041164~5486962956"/>
)
2. Added Library FirebaseAdMob(Version 1.60)
3. Error on Application in Release Mode and Open
Logger connected to: HMD Global Nokia 6.1
--------- beginning of main
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
main_settoolbar (java line: 1247)
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayout(LayoutBuilder.java:170)
at anywheresoftware.b4a.objects.ActivityWrapper.LoadLayout(ActivityWrapper.java:209)
at org.yeskay.app.nextgendigital.main._settoolbar(main.java:1247)
at org.yeskay.app.nextgendigital.main._activity_create(main.java:461)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:196)
at org.yeskay.app.nextgendigital.main.afterFirstLayout(main.java:104)
at org.yeskay.app.nextgendigital.main.access$000(main.java:17)
at org.yeskay.app.nextgendigital.main$WaitForLayout.run(main.java:82)
at android.os.Handler.handleCallback(Handler.java:874)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:198)
at android.app.ActivityThread.main(ActivityThread.java:6729)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.objects.CustomViewWrapper.AfterDesignerScript(CustomViewWrapper.java:64)
at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayout(LayoutBuilder.java:162)
... 15 more
Caused by: java.lang.NoSuchFieldError: No static field Toolbar_menu of type I in class Landroidx/appcompat/R$styleable; or its superclasses (declaration of 'androidx.appcompat.R$styleable' appears in base.apk)
at androidx.appcompat.widget.Toolbar.<init>(Toolbar.java:346)
at androidx.appcompat.widget.Toolbar.<init>(Toolbar.java:232)
at androidx.appcompat.widget.Toolbar.<init>(Toolbar.java:228)
at de.amberhome.objects.appcompat.internal.InternalToolbar.<init>(InternalToolbar.java:25)
at de.amberhome.objects.appcompat.ACToolbarLightWrapper.innerInitialize(ACToolbarLightWrapper.java:28)
at anywheresoftware.b4a.objects.ViewWrapper.Initialize(ViewWrapper.java:67)
at de.amberhome.objects.appcompat.ACToolBarWrapper.Initialize(ACToolBarWrapper.java:66)
at de.amberhome.objects.appcompat.ACToolBarWrapper._initialize(ACToolBarWrapper.java:147)
... 18 more
--------- beginning of crash
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
main_settoolbar (java line: 1247)
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayout(LayoutBuilder.java:170)
at anywheresoftware.b4a.objects.ActivityWrapper.LoadLayout(ActivityWrapper.java:209)
at org.yeskay.app.nextgendigital.main._settoolbar(main.java:1247)
at org.yeskay.app.nextgendigital.main._activity_create(main.java:461)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:196)
at org.yeskay.app.nextgendigital.main.afterFirstLayout(main.java:104)
at org.yeskay.app.nextgendigital.main.access$000(main.java:17)
at org.yeskay.app.nextgendigital.main$WaitForLayout.run(main.java:82)
at android.os.Handler.handleCallback(Handler.java:874)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:198)
at android.app.ActivityThread.main(ActivityThread.java:6729)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.objects.CustomViewWrapper.AfterDesignerScript(CustomViewWrapper.java:64)
at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayout(LayoutBuilder.java:162)
... 15 more
Caused by: java.lang.NoSuchFieldError: No static field Toolbar_menu of type I in class Landroidx/appcompat/R$styleable; or its superclasses (declaration of 'androidx.appcompat.R$styleable' appears in base.apk)
at androidx.appcompat.widget.Toolbar.<init>(Toolbar.java:346)
at androidx.appcompat.widget.Toolbar.<init>(Toolbar.java:232)
at androidx.appcompat.widget.Toolbar.<init>(Toolbar.java:228)
at de.amberhome.objects.appcompat.internal.InternalToolbar.<init>(InternalToolbar.java:25)
at de.amberhome.objects.appcompat.ACToolbarLightWrapper.innerInitialize(ACToolbarLightWrapper.java:28)
at anywheresoftware.b4a.objects.ViewWrapper.Initialize(ViewWrapper.java:67)
at de.amberhome.objects.appcompat.ACToolBarWrapper.Initialize(ACToolBarWrapper.java:66)
at de.amberhome.objects.appcompat.ACToolBarWrapper._initialize(ACToolBarWrapper.java:147)
... 18 more