OverviewFelgo Plugins Support › AdMob Crash


Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #17028


    Hi Felgo Team,

    I encountered this error message whenever I activate the admob plugin.

    E/AndroidRuntime( 1532): FATAL EXCEPTION: main
    E/AndroidRuntime( 1532): Process:, PID: 1532
    E/AndroidRuntime( 1532): java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.ViewGroup$LayoutParams' on a null object reference
    E/AndroidRuntime( 1532): 	at net.vplay.plugins.admob.AdMobBannerItem$
    E/AndroidRuntime( 1532): 	at android.os.Handler.handleCallback(
    E/AndroidRuntime( 1532): 	at android.os.Handler.dispatchMessage(
    E/AndroidRuntime( 1532): 	at android.os.Looper.loop(
    E/AndroidRuntime( 1532): 	at
    E/AndroidRuntime( 1532): 	at java.lang.reflect.Method.invoke(Native Method)
    E/AndroidRuntime( 1532): 	at java.lang.reflect.Method.invoke(
    E/AndroidRuntime( 1532): 	at$
    E/AndroidRuntime( 1532): 	at
    I/WebViewFactory( 1532): Loading version 53.0.2785.124 (code 278512400)

    Please help. Thanks!


    Felgo Team

    Hi Phil!

    To make sure everything is set up correctly, please perform all integration steps described in documentation and also make sure that your project uses the Gradle Build System.

    The plugin works fine for my tests: Can you provide a minimum code example that includes the plugin and shows the crash?
    You can also send your minimal test-project as a zipped archive to so we can try to verify the crash on our end.

    Which phone / device are using for testing where this issue occurs?




    Hi Günther,


    Thanks for your reply.

    I was just about to reply to my own report as I found out the source of the problem.

    Before the update, I had used a statement adMobBanner.visible=false.

    This is the cause of the problem. Once I commented it. It works fine now.


Viewing 3 posts - 1 through 3 (of 3 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
create apps
create games
cross platform
native performance
3rd party services
game network
level editor
easiest to learn
biggest time saving
best support