4

I'm getting the follow error: google-play-services_lib] Could not find google-play-services_lib.apk!

Complete Console:

[2013-05-17 16:41:50 - MapAlert] Android Launch!
[2013-05-17 16:41:50 - MapAlert] adb is running normally.
[2013-05-17 16:41:50 - MapAlert] Performing com.map.alert.StartUp activity launch
[2013-05-17 16:41:50 - MapAlert] Automatic Target Mode: using device '0288500541404557'
[2013-05-17 16:41:55 - MapAlert] Uploading MapAlert.apk onto device '0288500541404557'
[2013-05-17 16:41:57 - MapAlert] Installing MapAlert.apk...
[2013-05-17 16:42:55 - MapAlert] Success!
[2013-05-17 16:42:56 - google-play-services_lib] Could not find google-play-services_lib.apk!
[2013-05-17 16:42:56 - MapAlert] Starting activity com.map.alert.StartUp on device 0288500541404557

I have seen the new thing on google I/o and a saw you could use the new Google Play Services. I've added the library follow this guide: http://developer.android.com/google/play-services/setup.html

I also did found something on the net that the app on my phone should be updated but i'm already running 3.1.36. This is the new version where it should work with.

All suggestions are welcome!

MPelletier
  • 16,256
  • 15
  • 86
  • 137
Beko1997
  • 128
  • 1
  • 1
  • 9

3 Answers3

2

If you're using IntelliJ or Android Studio, the following StackOverflow link might be your ticket. The selected answer is pretty thorough. https://stackoverflow.com/a/16598478/413254

Community
  • 1
  • 1
loeschg
  • 29,961
  • 26
  • 97
  • 150
  • Thanks, I see an example directory in there, maybe I can do something with that. – Beko1997 May 17 '13 at 15:59
  • 1
    Thanks, it did help! I've got it working by **Project propeties** > **android** and added the library there. – Beko1997 May 18 '13 at 18:12
  • 3
    I had this problem even after adding the library as above but I think I originally incorrectly added a ref to it also in into the projects in Java build path. After removing the library from the projects in Java build path and re adding as above comment, the problem went away. Thanks for this. – Dittimon May 28 '13 at 21:52
0

yuor answer has two steps :

1.remove the google_play_services-lib reference from the Java build path

2.add the library reference in Properties | Android | Library references

-2

The solution was in a comment to the answer for this question:

Using the new Google Play Services

Steps:

remove the google_play_services-lib reference from the Java build path add the library reference in Properties | Android | Library references

Community
  • 1
  • 1
Shridutt Kothari
  • 7,326
  • 3
  • 41
  • 61
  • Buddy, The question you linked is actually this question you are looking at. You should not copy answers like that. – levi Aug 06 '14 at 18:41