Reputation: 820
i am trying mapv2 in my old application, which i published last year, now i am trying to integrate mapv2
i following this guide
work done till now:
changed manifest
<meta-data
android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" />
but the error comes while referencing google play service to my old project , it destroys all my resource file.
what could be the reason for this?
my project lib folder contains only updated support v4, i removed that as well but no use
i have googled it but didn't get any solution, so please help me, any suggestion are appreciated
thank you
Upvotes: 3
Views: 795
Reputation: 91175
The same situation I have crossed over a month back. Three things we need to check.
project.properties
file target=android-17
and your Targetted Android version should be same.project.properties
file like android.library.reference.1=../google-play-services_lib
Don't clean and build
and do restart you Eclipse
like File->Restart
in Eclipse.Upvotes: 0
Reputation: 10947
I would say that you have any error in your res
folder. If you dont have any error mark (like this ) in your project explorer, probably you can do a further check:
Also, please note that you could be breaking your R file, if some of the files in any of the resource files (an image, an xml file) or some of the value names (a string name, a integer name) has a duplicate name. Probably some of your files or values has a name that is also used in other resources, probably in the gooogle play services resources. check for that.
Upvotes: 0
Reputation: 2249
Check the this
link for Google Map v2 integration. This gives the step by step direction for map integration.
Hope this is helpful to you..
Upvotes: 3