Error: The Google Mobile Ads SDK was initialized incorrectly. AdMob publishers

After buying from CodeCanyon I configure the app and try to run but got this error:

2019-10-01 16:47:10.580 2899-2899/ar.com.grada.redoctubre E/AndroidRuntime: FATAL EXCEPTION: main
    Process: ar.com.grada.redoctubre, PID: 2899
    java.lang.RuntimeException: Unable to get provider com.google.android.gms.ads.MobileAdsInitProvider: java.lang.IllegalStateException:

    ******************************************************************************
    * The Google Mobile Ads SDK was initialized incorrectly. AdMob publishers    *
    * should follow the instructions here:                                       *
    * https://googlemobileadssdk.page.link/admob-android-update-manifest         *
    * to add a valid App ID inside the AndroidManifest.                          *
    * Google Ad Manager publishers should follow instructions here:              *
    * https://googlemobileadssdk.page.link/ad-manager-android-update-manifest.   *
    ******************************************************************************

Solution:

If you are not using AdMob then don’t make any change on below line. And the key we are using is the test key provide by google which not effect on your app. Hope your problem will be solved. Here is the reference of the test key: https://developers.google.com/admob/android/quick-start

image.png
image.png

2 thoughts on “Error: The Google Mobile Ads SDK was initialized incorrectly. AdMob publishers

Leave a Reply