dkarnik Member Licensed User Longtime User Jul 15, 2014 #1 in manifest editor i added 'admob interstitial AddApplicationText( <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version"/> <activity android:name="com.google.android.gms.ads.AdActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/> ) but i get error: AndroidManifest.xml:22: error: Error: No resource found that matches the given name (at 'value' with value '@integer/google_play_services_version'). any help? thank you...
in manifest editor i added 'admob interstitial AddApplicationText( <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version"/> <activity android:name="com.google.android.gms.ads.AdActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/> ) but i get error: AndroidManifest.xml:22: error: Error: No resource found that matches the given name (at 'value' with value '@integer/google_play_services_version'). any help? thank you...
Erel B4X founder Staff member Licensed User Longtime User Jul 15, 2014 #2 Have you added the #AdditionalRes line? See the tutorial here: Google Maps Android v2 tutorial Upvote 0
dkarnik Member Licensed User Longtime User Jul 15, 2014 #3 thank you for your response Erel yes i did add the line #AdditionalRes: C:\Android\extras\google\google_play_services\libproject\google-play-services_lib\res, com.google.android.gms Upvote 0
thank you for your response Erel yes i did add the line #AdditionalRes: C:\Android\extras\google\google_play_services\libproject\google-play-services_lib\res, com.google.android.gms
Erel B4X founder Staff member Licensed User Longtime User Jul 16, 2014 #4 Do you still get this error? Upvote 0
dkarnik Member Licensed User Longtime User Jul 16, 2014 #5 yes i still get that error. then i tried on my laptop. on my laptop is ok, but there i get error: java.lang.NoClassDefFoundError: com.google.android.gms.ads.InterstitialAd Upvote 0
yes i still get that error. then i tried on my laptop. on my laptop is ok, but there i get error: java.lang.NoClassDefFoundError: com.google.android.gms.ads.InterstitialAd
Erel B4X founder Staff member Licensed User Longtime User Jul 16, 2014 #6 You are probably referencing a wrong version of googe-play-services.jar or AdMob.jar. Upvote 0
dkarnik Member Licensed User Longtime User Jul 31, 2014 #7 this is what helped me: remove android sdk, remove b4a, delete all temp files i could find, install android sdk, install b4a, and it's ok now... Upvote 0
this is what helped me: remove android sdk, remove b4a, delete all temp files i could find, install android sdk, install b4a, and it's ok now...