Android Question google_play_services

dkarnik

Member
Licensed User
Longtime User
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...
 

dkarnik

Member
Licensed User
Longtime User
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

dkarnik

Member
Licensed User
Longtime User
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

dkarnik

Member
Licensed User
Longtime User
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
Cookies are required to use this site. You must accept them to continue using the site. Learn more…