Monday, 15 August 2011

android - GCM example project error message "Could not find google-play-services_lib.apk" -


For example, when provided on the code, the application has a message about a missing Apike launch protocol. [2013-06-22 10:28:24 - GCMCAlient NPPI] ------------------------- ------ [2013-06-22 10:28:24 - GCMCLent NEAPI] Android launch! [2013-06-22 10:28:24 - Jisimsielantaanpiapi] ADB is running normally [2013-06-22 10:28:24 - Jisimsielant Aniapiai] com.google.android.gcm.demo.app.DemoActivity activity launch [2013-06-22 10: 28: 29-Jisimsieliant Aniapiai] uploading Jisimsielant Aniapiai.apak device '015d3e63881c020d' [2013-06-22 10: 28: 30-Jisimsielant Aniapiai] Jisimsielantiiipiai.apak is installed. .. [2013-06-22 10:29:07 - GCMCLantaiAPI] Success! [2013-06-22 10:29:07 - google-play-services_lib] google-play-services_lib.apk not found! [2013-06-22 10:29:07 - Jisimsielant Aniapiai] to start the device com.google.android.gcm.demo.app.DemoActivity device 015d3e63881c020d [2013-06-22 10:29:07 - Jisimsielantaniapiai] activity Manager: starting: intent {act = android.intent.action.MAIN cat = [android.intent.category.LAUNCHER] cmp = com.google.android.gcm.demo.app / .DemoActivity}

However, the application is able to connect to Play services, and the registration ID is received. Also works well to send messages - at least no errors are logged.

The Library Project is referred to by the demo project in Android settings (this can also be seen in the project property property).

I'm testing on a Nexus 7 device with the current Android 4.2.2 version, and the current Google Play Services version 3.1.36 (669520-30).

Could not get the Google-play-services_lib.apk message due to this?

The solution was a note to answer this question:

< / P>

Step:

  1. Remove the google_play_services-lib reference from the Java build path
  2. Add properties in the library reference. Android | Reference to the library

No comments:

Post a Comment