I\'m trying to get the sample code of Android \'Google Maps Android API v2\' working. I get the project built without errors. However, when I try to run the app on my Galaxy
Follow the crib sheet very, very carefully:
https://docs.google.com/document/pub?id=19nQzvKP-CVLd7_VrpwnHfl-AE9fjbJySowONZZtNHzw
In particular, I think you need to:
I found this second step was necessary as I was hitting the exact same error as you when trying to use the sample code. The first step was necessary to avoid a NoClassDefFoundError
in com.google.android.gms.R$styleable
in my real project.
I also needed to do a Clean build and Uninstall the app from the device (from an earlier test attempt) before the sample code worked.
I faced the same problem and couldn't resolve. Finally I took the sample projects folder from another machine, copied it to mine and loaded the new project I took from the other machine. Then everything is working fine. I tried to track the issue by comparing 2 sample projects but couldn't. Anyway the new sample projects I took from the other machine is working fine.