Hello
@ar2rsawseen I'm trying to build a project in Eclipse with Ads plugin for Admob.
I've followed the steps in the
http://docs.giderosmobile.com/interface/ads but it's not working.
This is a mess.
Please, let me know what I have to do in order to resolve it.
I have the next different kind of errors:
Description Resource Path Location Type
AdListener cannot be resolved to a type AdsAdmob.java /MyGame/src/com/giderosmobile/android/plugins/ads/frameworks line 228 Java Problem
Description Resource Path Location Type
AdRequest cannot be resolved to a variable AdsAdmob.java /MyGame/src/com/giderosmobile/android/plugins/ads/frameworks line 242 Java Problem
Description Resource Path Location Type
AdSize cannot be resolved to a type AdsAdmob.java /MyGame/src/com/giderosmobile/android/plugins/ads/frameworks line 23 Java Problem
Description Resource Path Location Type
AdSize cannot be resolved to a variable AdsAdmob.java /MyGame/src/com/giderosmobile/android/plugins/ads/frameworks line 23 Java Problem
Description Resource Path Location Type
AdView cannot be resolved to a type AdsAdmob.java /MyGame/src/com/giderosmobile/android/plugins/ads/frameworks line 67 Java Problem
Description Resource Path Location Type
Builder cannot be resolved to a type AdsAdmob.java /MyGame/src/com/giderosmobile/android/plugins/ads/frameworks line 111 Java Problem
Description Resource Path Location Type
ConnectionResult cannot be resolved to a variable AdsAdmob.java /MyGame/src/com/giderosmobile/android/plugins/ads/frameworks line 204 Java Problem
Description Resource Path Location Type
error: Error: No resource found that matches the given name (at 'value' with value '
@integer/google_play_services_version'). AndroidManifest.xml /MyGame line 29 Android AAPT Problem
Description Resource Path Location Type
GooglePlayServicesUtil cannot be resolved AdsAdmob.java /MyGame/src/com/giderosmobile/android/plugins/ads/frameworks line 204 Java Problem
Description Resource Path Location Type
InterstitialAd cannot be resolved to a type AdsAdmob.java /MyGame/src/com/giderosmobile/android/plugins/ads/frameworks line 95 Java Problem
Description Resource Path Location Type
The import com.google cannot be resolved AdsAdmob.java /MyGame/src/com/giderosmobile/android/plugins/ads/frameworks line 14 Java Problem
Comments
AdsAdmob.java is meant to be used with Google Play Service framework, which you need to add as a library to your project
http://developer.android.com/google/play-services/setup.html
But if you don't want to use Google Play Services but rather use the simple .jar version of admob, simply delete current AdsAdmob.java and rename AdsAdmob_OldJar.java to AdsAdmob.java and leave the admob jar in the libs folder and it should work.
But I should note that applications using old jar admob file will be accepted to Google Play market only till 1st of August, after that Google Play Service usage is mandatory for Google Play market, for other markets you can continue using jar file version
@ar2rsawseen Ok, but you know Google here did us a dependency...
Please help!!!
After installing last SDK, ADT plugin, reference the Google Play Services library to the project, etc., etc. now I have "only" 4 errors:
error: Error: String types not allowed (at 'configChanges' with value 'keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize'). AndroidManifest.xml
error: Error: String types not allowed (at 'configChanges' with value 'keyboard|keyboardHidden|orientation|screenSize'). AndroidManifest.xml
error: No resource identifier found for attribute 'xlargeScreens' in package 'android' AndroidManifest.xml
The container 'Android Dependencies' references non existing library '/Users/MyUser/apps/google-play-services_lib/bin/google-play-services_lib.jar'
Btw, I don't find now the main activity in the project...
Also after the SDK update the "sensorLandscape" config value now is not possible...
Please, let me know.
Thanks!
https://play.google.com/store/apps/developer?id=SimplesApps
http://www.amazon.com/gp/mas/dl/android?p=com.simplesapps.actionbasket
https://itunes.apple.com/artist/david-rodriguez/id763996989
Btw, I fixed the error related to 'xlargeScreens' deleting it.
But the last one persist.
What I'm doing wrong?
Thanks.
https://play.google.com/store/apps/developer?id=SimplesApps
http://www.amazon.com/gp/mas/dl/android?p=com.simplesapps.actionbasket
https://itunes.apple.com/artist/david-rodriguez/id763996989
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="19" />
@ar2rsawseen No, the AndroidManifest contains just these minSdk an targetSdk.
Also now (after updating the ADT and SDK) it not possible to put "sensorLandscape" for screenOrientation.
This is the AndroidManifest.xml:
<?xml version="1.0" encoding="utf-8"?>
https://play.google.com/store/apps/developer?id=SimplesApps
http://www.amazon.com/gp/mas/dl/android?p=com.simplesapps.actionbasket
https://itunes.apple.com/artist/david-rodriguez/id763996989
https://play.google.com/store/apps/developer?id=SimplesApps
http://www.amazon.com/gp/mas/dl/android?p=com.simplesapps.actionbasket
https://itunes.apple.com/artist/david-rodriguez/id763996989
Can you try sending me your android project to my nickname @ gmail.com?
I will try to get to computer and check it
I'll try to import again, adding the libs, etc. in order to see if it works.
I let you know.
Thanks.
https://play.google.com/store/apps/developer?id=SimplesApps
http://www.amazon.com/gp/mas/dl/android?p=com.simplesapps.actionbasket
https://itunes.apple.com/artist/david-rodriguez/id763996989