I have an existing project that was built without gradle for Android Studio
and I'm trying to get Google Play Services imported to fix a
java.lang.NoClassDefFoundError: com.google.android.gms.R$styleable
exception.
The only problem is it doesn't seem possible... I've considered porting it to
gradle but the codebase is rather large (40+ Activities) and it would be a
nightmare for someone like me, who's never used gradle before, to accomplish.
I've trying importing the Google Play Services project from the SDK but it
hangs forever "creating gradle files".
Anyone have any experience loading this library to a non-gradle project before?
As an aside, I've tried loading the project into Eclipse to see if I could do
something that way, but the build paths self-destruct to where I've spent hours
trying to sort through them to no avail.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…