Daniel ORTIZ
Daniel ORTIZ

Reputation: 2520

Library reference Lib\Copy of google-play-services_lib could not be found

When I try to import one project from eclipse to Android Studio , it shows me this error:

Project BLE_Sample_Android-master: path/project.properties: Library reference Lib\Copy of google-play-services_lib could not be found Path is path\Lib\Copy of google-play-services_lib which resolves to \BLE_Sample_Android-master\Lib\Copy of google-play-services_lib

Already paste copy of google-play-services_lib.jar in project/libs, but it doesn't work.

Upvotes: 1

Views: 4194

Answers (2)

Android Enthusiast
Android Enthusiast

Reputation: 4950

I did some research and found out that one way to resolve the issue is to remove the line in the 'project.properties' file that was making reference to the 'google-play-services_lib' library.

Here's where I found my answer: Android Studio - Library reference ../google-play-services_lib could not be found importing project

You may also check the Official site how to migrate from Eclipse ADT to Android Studio, here's the link: http://developer.android.com/sdk/installing/migrate.html

Upvotes: 1

piotrek1543
piotrek1543

Reputation: 19351

In your build.gradle file in dependencies file add this line

    compile 'com.google.android.gms:play-services:8.4.0'

You don't need to add .jar libs.

Then, choose Tools -> Android -> SDK Manager

Check if Google Services Library is already installed:

enter image description here

Hope it help

Upvotes: 0

Related Questions