I invocker Active Member Sep 24, 2022 #1 I have a problem with admob in this line gt error -IAd.Initialize("iad",inter)- java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/ads/InterstitialAd; How can resole this issue? thank's Attachments Project.zip Project.zip 15.8 KB · Views: 339
I have a problem with admob in this line gt error -IAd.Initialize("iad",inter)- java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/ads/InterstitialAd; How can resole this issue? thank's
Solution Erel Sep 25, 2022 You should use FirebaseAdMob2: https://www.b4x.com/android/forum/t...dmob2-google-mobile-ads-v20-0.129696/#content
You should use FirebaseAdMob2: https://www.b4x.com/android/forum/t...dmob2-google-mobile-ads-v20-0.129696/#content
Erel B4X founder Staff member Licensed User Longtime User Sep 25, 2022 #2 You should use FirebaseAdMob2: https://www.b4x.com/android/forum/t...dmob2-google-mobile-ads-v20-0.129696/#content Upvote 0 Solution
You should use FirebaseAdMob2: https://www.b4x.com/android/forum/t...dmob2-google-mobile-ads-v20-0.129696/#content
I invocker Active Member Sep 25, 2022 #3 I Download project and change AppOpenAdUnit with a App ID and the bannerad with my banner and iad with my Interstitial but get error when click show ad in this line iAd.LoadAd this is the error java.lang.NullPointerException: AdUnitId cannot be null. Upvote 0
I Download project and change AppOpenAdUnit with a App ID and the bannerad with my banner and iad with my Interstitial but get error when click show ad in this line iAd.LoadAd this is the error java.lang.NullPointerException: AdUnitId cannot be null.
Erel B4X founder Staff member Licensed User Longtime User Sep 27, 2022 #4 Carefully follow the instructions on that page and it will work. Upvote 0