You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.
I'm using "nativescript-angular": "~5.0.0" and building with webpack
I get this error when i use interstitial
And this one when i use the banner```
JS: firebase.init done
JS: Error in firebase.admob.showBanner: Error: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.res.Resources android.content.Context.getResources()' on a null object reference
JS: android.view.ViewConfiguration.get(ViewConfiguration.java:392)
JS: android.view.View.(View.java:4330)
JS: android.view.View.(View.java:4473)
JS: android.view.ViewGroup.(ViewGroup.java:579)
JS: android.view.ViewGroup.(ViewGroup.java:575)
JS: android.view.ViewGroup.(ViewGroup.java:571)
JS: android.view.ViewGroup.(ViewGroup.java:567)
JS: com.google.android.gms.ads.BaseAdView.(Unknown Source)
JS: com.google.android.gms.ads.AdView.(Unknown Source)
JS: com.tns.Runtime.callJSMethodNative(Native Method)
JS: com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:1088)
JS: com.tns.Runtime.callJSMethodImpl(Runtime.java:970)
JS: com.tns.Runtime.callJSMethod(Runtime.java:957)
JS: com.tns.Runtime.callJSMethod(Runtime.java:941)
JS: com.tns.Runtime.callJSMethod(Runtime.java:933)
JS: com.tns.NativeScriptActivity.onStart(NativeScriptActivity.java:38)
JS: android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1256)
JS: android.app.Activity.performStart(Activity.java:6972)
JS: android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2937)
JS: android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3045)
JS: android.app.ActivityThread.-wrap14(ActivityThread.java)
JS: android.app.ActivityThread$H.handleMessage(ActivityThread.java:1642)
JS: android.os.Handler.dispatchMessage(Handler.java:102)
JS: android.os.Looper.loop(Looper.java:154)
JS: android.app.ActivityThread.main(ActivityThread.java:6776)
JS: java.lang.reflect.Method.invoke(Native Method)
JS: com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1496)
JS: com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1386)
JS: Angular is running in the development mode. Call enableProdMode() to enable
the production mode.
JS: Error: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.res.Resources android.content.Context.getResources()' on a null object reference
JS: android.view.ViewConfiguration.get(ViewConfiguration.java:392)
JS: android.view.View.(View.java:4330)
JS: android.view.View.(View.java:4473)
JS: android.view.ViewGroup.(ViewGroup.java:579)
JS: android.view.ViewGroup.(ViewGroup.java:575)
JS: android.view.ViewGroup.(ViewGroup.java:571)
JS: android.view.ViewGroup.(ViewGroup.java:567)
JS: com.google.android.gms.ads.BaseAdView.(Unknown Source)
JS: com.google.android.gms.ads.AdView.(Unknown Source)
JS: com.tns.Runtime.callJSMethodNative(Native Method)
JS: com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:1088)
JS: com.tns.Runtime.callJSMethodImpl(Runtime.java:970)
JS: com.tns.Runtime.callJSMethod(Runtime.java:957)
JS: com.tns.Runtime.callJSMethod(Runtime.java:941)
JS: com.tns.Runtime.callJSMethod(Runtime.java:933)
JS: com.tns.NativeScriptActivity.onStart(NativeScriptActivity.java:38)
JS: android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1256)
JS: android.app.Activity.performStart(Activity.java:6972)
JS: android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2937)
JS: android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3045)
JS: android.app.ActivityThread.-wrap14(ActivityThread.java)
JS: android.app.ActivityThread$H.handleMessage(ActivityThread.java:1642)
JS: android.os.Handler.dispatchMessage(Handler.java:102)
JS: android.os.Looper.loop(Looper.java:154)
JS: android.app.ActivityThread.main(ActivityThread.java:6776)
JS: java.lang.reflect.Method.invoke(Native Method)
JS: com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1496)
JS: com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1386)
The text was updated successfully, but these errors were encountered: