How to fix Google Play Services 2 Library install to Eclipse

后端 未结 5 1465
情歌与酒
情歌与酒 2020-12-14 22:23

I\'ve tried to follow https://developer.android.com/google/play-services/setup.html instructions in Eclipse for Mobile Developers (Juno), but am getting multiple errors with

5条回答
  •  不知归路
    2020-12-14 23:12

    There is a misleading step in step 3 of http://developer.android.com/google/play-services/setup.html:

    Copy the /extras/google/google_play_services/libproject/google-play-services_lib library project into the source tree where you maintain your Android app projects.

    If you are using Eclipse, import the library project into your workspace. Click File > Import, select Android > Existing Android Code into Workspace, and browse to the copy of the library project to import it.

    Don't do the first copy. Instead just do the second part and check the box that says "Copy projects into workspace". I found that if I did the first part I would end up with empty xml files.

提交回复
热议问题