For Android Map api v2 Description references non existing library google-play-services_lib\bin\google-play-services_lib.jar

前端 未结 9 3060
心在旅途
心在旅途 2021-02-20 12:13

I have import google-play-services_lib into my workspace and Add google project into MYProject it give mr error:

Description Resource Path Locatio

相关标签:
9条回答
  • 2021-02-20 12:13

    I found that the reference is looking at the wrong folder. It normally looks in <android-sdk>/extras/google/google_play_services/libproject/google-play-services_lib/bin/ for the jar file and the file is actually inside the <android-sdk>/extras/google/google_play_services/libproject/google-play-services_lib/libs folder. I couldn't find a way to change the reference link, so I just copied the jar file and the matching jar properties file from the /libs folder to the /bin folder.

    I hope it helps.

    0 讨论(0)
  • 2021-02-20 12:23

    There is another way to resolve this issue. Import google_play_services_lib project to your work space. android-sdk/extras/google/google_play_services/libproject/google-play-services_lib

    Then add the google-play-services.jar file externally. right click on your_project -> properties ->java build path -> Libraries -> add External JARs -> select google-play-services.jar from work space ->clean ->build

    It works for me.

    0 讨论(0)
  • 2021-02-20 12:30

    I met this issue as well.

    My solution is,

    1. clean project google-play-services_lib firstly
    2. then clean my project which depends on play service library
    0 讨论(0)
  • 2021-02-20 12:31

    Hey i know what your problem is. I think it seems like you didn't built your google-play-services project... Try the following solution:

    1. Import the google-play-services_lib "project" into your workspace
    2. Add the freshly imported project to your applications build path
    3. RIGHT-CLICK the google-play-services_lib project and select "Build Project"
    4. Wait a few moments or "clean up" your project
    5. Run your application and - Voila -
    0 讨论(0)
  • 2021-02-20 12:32

    Please uncheck "Is Library" as follows ;

    enter image description here

    0 讨论(0)
  • 2021-02-20 12:34

    Check Read Only property of the Project folder. If its checked, uncheck it and then try.

    0 讨论(0)
提交回复
热议问题