Google play services cannot find its resources

Thanks for your help. I removed the resource files, and put in google-play-services.jar and GoogleAdMobSDK6.3.1.jar, it compiled successfully.

However, during runtime, it crash with this error:

Using Google Play games services requires a metadata tag with the name "com.google.android.gms.games.APP\_ID" in the application tag of the manifest for net.example.my

Followed by:

I/Ads &nbsp; &nbsp; (29303): adRequestUrlHtml: \<html\>\<head\>\<script src="http://media.admob.com/sdk-core-v40.js"\>\</script\>\<script\>AFMA\_getSdkConstants();AFMA\_buildAdURL({"hl":"en","oar":0,"carrier":"50212","u\_h":592,"gnt":13,"net":"wi","mv":"80300038.com.android.vending","u\_w":360,"app\_name":"1.android.net.example.my","format":"interstitial\_mb","js":"afma-sdk-a-v6.3.1","pt":1,"seq\_num":"1","u\_audio":3,"msid":"net.example.my","bas\_off":0,"preqs":0,"session\_id":"3290296689401168779","u\_sd":3,"ms":"eO9U21R780XNFL81QoZlShUY2ukZmjDo94bwFAlX3ZYU8iBUvNzVRFI072cu\_2IkkwSVW0ROhRbfs2MvLXIXPlNyybTGMFuGnbzPsOWDYr77SmsHCnHbDNDwFZ0MSpRRQ6mmAQ0nlHAJHo3zBRlLmK7QhKAwOFBb2EolnGWer-CvAMDa5aIq6QwuZv\_gywmUBenpldVRC3J\_n1glufN\_k4Cc6VLoJc38e97EtIZhMNDt3lnXimvqwLtcL16wiHavm2BANNB-gHj36zix4s4bLK9vnBfybZdmlv2HtchNImRZdXJDqq1toU33Ebe2P6Vj3ku5qyDw5iAIVy41-XQJng","isu":"D096414B30E270041E3AC931E3F468E6","slotname":"ca-app-pub-9053410537698440\/1004495815","ptime":0,"bas\_on":0});\</script\>\</head\>\<body\>\</body\>\</html\>

However, the real error that caused the crash is this:

D/AndroidRuntime(29303): Shutting down VM E/AndroidRuntime(29303): FATAL EXCEPTION: main E/AndroidRuntime(29303): Process: net.facv.number10, PID: 29303 E/AndroidRuntime(29303): java.lang.IllegalStateException: A fatal developer error has occurred. Check the logs for further information. E/AndroidRuntime(29303): at com.google.android.gms.internal.u$f.a(Unknown Source) E/AndroidRuntime(29303): at com.google.android.gms.internal.u$f.a(Unknown Source) E/AndroidRuntime(29303): at com.google.android.gms.internal.u$b.A(Unknown Source) E/AndroidRuntime(29303): at com.google.android.gms.internal.u$a.handleMessage(Unknown Source) E/AndroidRuntime(29303): at android.os.Handler.dispatchMessage(Handler.java:102) E/AndroidRuntime(29303): at android.os.Looper.loop(Looper.java:135) E/AndroidRuntime(29303): at android.app.ActivityThread.main(ActivityThread.java:5221) E/AndroidRuntime(29303): at java.lang.reflect.Method.invoke(Native Method) E/AndroidRuntime(29303): at java.lang.reflect.Method.invoke(Method.java:372) E/AndroidRuntime(29303): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899) E/AndroidRuntime(29303): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)

Have you set up the meta-data tag in your AndroidManifest.xml ?

\<meta-data android:name="com.google.android.gms.games.APP\_ID" android:value="@string/app\_id" /\>

You’ll also need the appropriate configuration in your ids.xml located in the android/res/values directory.

BTW.

You can get the contents of your ids.xml from the Google Developer Console.

After you’ve configured all your leaderboards and achievements you can go to the “Leaderboards” or “Achievements” section of your Game Services setup for your app. You’ll see a “Get resources” link at the bottom of each list that will open a popup with the contents necessary for your ids.xml.

I can’t describe how happy am I now.

It works!!! Thanks inegmar! Take my soul to be your slave!

Now I have other error: 

onSignInFailed()

But I think I can figure it out from now on!!!

Thanks Thanks Thanks Thanks Thanks Thanks Thanks Thanks!!!

Great  :smiley: !

hello guys i am having difficulties implementing admob into my app please help!

Start here:  http://coronalabs.com/blog/2014/07/15/tutorial-implementing-admob-v2/

Rob