Android, Eclipse, Google_Play_Services_Lib - attempt to import a project and get errors

I installed the Google Play Services SDK, copied the project into my workspace, removed the read-only property and tried to import google_play_services_lib into eclipse, and I start by having an error in the manifest file, I look and empty, I open the manifest in the xml editor right from the explorer Windows and fills up. I copied what was in the eclipse manifest file and saved it. the error in the manifest file has disappeared, but now almost all files / folders in the res directory display errors. I did not find anything on the Internet on this issue, any help would be appreciated.

EDIT: How can I get LogCat? The code does not compile. the only error i get is:

[2013-12-06 10:00:53 - google-play-services_lib] Project has no target set. Edit the   project properties to set one.
[2013-12-06 10:00:53 - google-play-services_lib] Project has no target set. Edit the project properties to set one.
[2013-12-06 10:00:53 - google-play-services_lib] Parser exception for /google-play-services_lib/AndroidManifest.xml: Premature end of file.
[2013-12-06 10:00:55 - google-play-services_lib] Parser exception for /google-play-services_lib/AndroidManifest.xml: Premature end of file.

The following tutorial: http://developer.android.com/google/play-services/setup.html

EDIT: AnroidManifest.xml:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.google.android.gms"
android:versionCode="4030530"
android:versionName="4.0.30 (889083-30)" >

<uses-sdk android:minSdkVersion="8"
    android:targetSdkVersion="14"/>

+4
source share
2 answers

I just ran into the same problem and managed to find solutions that work, at least for me. Instead of manually copying the directory google-play-services_libto the workspace, try the following:

  • Switch to File -> Import -> Android -> Existing Android Code Into Workspace
  • Select Browse
  • Select YOUR_SDK_PATH/android-sdk/extras/google/google_play_services/
  • Mark Copy projects into workspace
  • Click Finish
+3
source

, GOOGLE PLAY SERVICE, .... .. D: , ,

-1

All Articles