Reputation: 2520
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
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
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:
Hope it help
Upvotes: 0