Android crash on GooglePlayServices (Games) connect

前端 未结 2 1841
长情又很酷
长情又很酷 2021-01-15 02:13

I\'m messing around with this problem about 10h and i cann\'t figure out what i\'ve done wrong....

The Fatal Exception:

E/AndroidRuntime         


        
2条回答
  •  孤街浪徒
    2021-01-15 03:02

    I believe this might be related to missing the com.google.android.gms.games.APP_ID metadata element in your AndroidManifest.xml

    It looks like a typo (you replaced APP_ID with your package name?). It should be:

    You can refer to TypeANumber basic sample's AndroidManifest.xml https://github.com/playgameservices/android-basic-samples/blob/master/BasicSamples/TypeANumber/src/main/AndroidManifest.xml#L41

提交回复
热议问题