Referencing the google-play-services library

后端 未结 8 2281
余生分开走
余生分开走 2021-02-19 10:48

I\'m working on a project using the Google Maps Android API v2, and I have a problem when I start referencing google-play-services_lib. A red exclamation mark appears on my proj

8条回答
  •  -上瘾入骨i
    2021-02-19 11:11

    This happened to me when updating the Android SDK components via the Android SDK Manager. Previously, I had imported a couple of Google libraries (Google Play Services, etc) into my Eclipse workspace and selected the Copy projects into workspace option. The upgrade broke this since the imported libraries' versions were a different version from the main SDK.

    Deleting the copied projects from Eclipse, then re-importing them directly from the SDK directory fixed this issue in my case.

提交回复
热议问题