0

After update sdk to version 6 api23 cannot compile the program in eclipse with error:

the import of com google android gms appstate cannot be resolved.

While it was perfectly OK the moment just before i did update the SDK.

There is the same situation found on stackoverview but it was solved using android studio gradle and not using eclipse.

cweiske
  • 30,033
  • 14
  • 133
  • 194
  • http://stackoverflow.com/questions/15990075/the-import-com-google-android-gms-cannot-be-resolved – IntelliJ Amiya Oct 29 '15 at 07:56
  • http://stackoverflow.com/questions/11806937/java-the-import-com-google-cannot-be-resolved – IntelliJ Amiya Oct 29 '15 at 07:57
  • Intellij Amiya thanks for your reponse. Already did what mentioned there before I ask here but not fixed. After search i think i know the problem is because the appstatemanager is deprecated on api23 – monika zhang Oct 29 '15 at 08:02
  • It can be fixed at android studi gradle by compile 'com.google.android.gms:play-services-appstate:6.5.87' but because i'm using eclipse how can i acjieve the same fix? – monika zhang Oct 29 '15 at 08:06
  • Well in fact the problem is on deprecated class on new api. Waiting for fix from google team on gamehelper java – monika zhang Oct 29 '15 at 08:15
  • 2
    I fix it now. Just download the newest gamehelper java from github which implement the new play service api after the old one was deprecated. Well i learn it the hard way – monika zhang Oct 29 '15 at 08:59

0 Answers0