MobileChromeApps / google-play-services

A Cordova plugin for Android that adds Google Play Services
51 stars 96 forks source link

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

Open corradio opened 10 years ago

corradio commented 10 years ago

When using location services, I get the following error (using play services 16.0.0):

03-31 18:45:18.827  32262-32262/? E/AndroidRuntime﹕ FATAL EXCEPTION: main
    Process: net.snips.trackr, PID: 32262
    java.lang.NoClassDefFoundError: com.google.android.gms.R$string

Any idea how to fix this?

corradio commented 10 years ago

Yeah but I have to do that everytime someone adds the plugin to our system, which is not a perfect solution. I ended up doing that anyway :) Thanks.

On Thu, Apr 3, 2014 at 12:53 AM, Mathieu Gosbee notifications@github.comwrote:

You're missing the google play services project... Import the project from your /sdk/extras/google/google_play_services/

Open Your project in Eclipse -> Properties -> Android -> -> google-play-services_lib

Clean project... Go.

Reply to this email directly or view it on GitHubhttps://github.com/MobileChromeApps/google-play-services/issues/3#issuecomment-39394246 .