java.lang.NoClassDefFoundError: com.google.android.gms.R$string

后端 未结 8 1331
借酒劲吻你
借酒劲吻你 2021-01-18 08:00

I am having a little trouble with the complier, Same code I use on Nexus 5, no error. as Soon as I use it in Tablet, it crash right away and the error said

java.la

8条回答
  •  梦毁少年i
    2021-01-18 08:50

    In my case, I changed the theme of my app in the AndroidManifest.xml file and cleared out my styles.xml file (because I'm a noob and hoped to just use an out-of-the-box android theme). After launching the app, I assume there were zombie references to the old theme that caused the error because, after reverting my changes, the error disappeared.

提交回复
热议问题