Skip to content Skip to sidebar Skip to footer

Java.lang.noclassdeffounderror: Com.google.android.gms.r$styleable Nothing Helped Me

I have such activityclass code: package com.pavel.exchanger; import android.os.Bundle; import android.app.Activity; import android.support.v4.app.FragmentActivity; import android.

Solution 1:

If I had to guess, when you "added lib and project", you added the JAR, not the Android library project. The Play Services SDK is an Android library project that happens to contain a JAR.

The Play Services SDK documentation has the basic steps. Assuming that you are using Eclipse, you need to import the Play Services SDK Android library project into your workspace, then reference that library project from your app (Project > Properties > Android). Also, undo whatever you did originally to attempt to use the Play Services SDK, as that may interfere with the revised setup.

Post a Comment for "Java.lang.noclassdeffounderror: Com.google.android.gms.r$styleable Nothing Helped Me"