Parser exception for / google -play-services_lib / AndroidManifest.xml: premature end of file

I am trying to import google-play-services_lib into Eclipse as stated in this tutorial ( http://developer.android.com/google/play-services/setup.html ), but this gives an error below and I cannot find a suitable one solutions. I imported a copy not original, it is on the same disk ...

Parser exception for / google -play-services_lib / AndroidManifest.xml: premature end of file.

+3
source share
3 answers

If you copy the google-play-services_lib file, do not copy it inside your Eclipse workspace . " Because when you import the library, Eclipse overrides the contents in the google-play-services_lib folder and corrupts it.

+9
source

Have you tried to open the google_play_service manifest? From the exception message, it looks like it was somehow damaged

+1
source

, . ... Android adt...

for me this is something like ... D: \ Android Dev \ adt-bundle-windows-x86_64 \ sdk \ extras \ google \ google_play_services \ libproject \ google-play-services_lib

and then check the option to copy the current workspace during import. This solved the problem for me and it would not clear the manifest file or resources.

Secondly ... do not forget that this line in the manifest should have the same android: minSdkVersion as the main Android project

+1
source

All Articles