Click here to Skip to main content
15,919,341 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am Using Android Studio.I already added the gms dependency into my build.gradle based project.It works fine for me on Lollipop device but when I am going to deploy my project on Samsung galaxy s3 device my application is crashing.I am getting this error exactly :-
Java
<big>java.lang.NoClassDefFoundError: com.google.android.gms.R$string</big>
how can I Resolve This Problem ... ?

Thanks

What I have tried:

I tried to replace this :- compile 'com.google.android.gms:play-services:8.4.0' with this :- compile 'com.google.android.gms:play-services-fitness:8.4.0'
compile 'com.google.android.gms:play-services-wearable:8.4.0'
but it wont work for me.
Posted

Replaced gms dependency to this :-
JavaScript
compile 'com.google.android.gms:play-services:7.8.0'
 
Share this answer
 
Il faut juste renommer le nom de l'interface c'est tout et tout...
 
Share this answer
 
Comments
CHill60 29-Oct-20 7:04am    
Utilisez l'anglais ici s'il vous plaît

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900