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 project icon, and I have an error message in the "Problems" tab (I'm using Eclipse) :
The container 'Android Dependencies' references non existing library 'C:\Users\Labo FMS\Documents\Applications\04-adt-bundle-windows-x86_64\sdk\extras\google\google_play_services\libproject\google-play-services_lib\bin\google-play-services_lib.jar'
And, indeed, if I go to that folder, I see that there is no "google-play-services_lib.jar" file.
I've tried reinstalling the library, and I've noticed that when it's installing there's an error message at the bottom :
[2013-04-09 13:54:32 - google-play-services_lib] Unable to resolve target 'android-8'
[2013-04-09 13:54:32 - google-play-services_lib] Unable to resolve target 'android-8'
[2013-04-09 13:56:18 - MainActivity] Unable to resolve target 'android-8'
Anybody knows what it all means ?
You can see all the apps you've ever downloaded on your Android phone by opening the "My apps & games" section in your Google Play Store. The apps you've downloaded are divided into two sections: "Installed" (all the apps currently installed on your phone) and "Library" (all the apps that aren't currently installed).
The google-services. json file is generally placed in the app/ directory (at the root of the Android Studio app module).
What are the Android Support Libraries? The Android Support Library is a set of code libraries — resources that can be used to build features and/or functions into an app — that provide things like features or widgets that would normally require an actual Android framework API to include in an app.
google-play-services_lib
not found target 'android-8'
because it was not installed in your Android SDK
.
change your Android target 'android-8'
to any other using.
Your Project--->Right Click-->Properites-->Android-->Select Google API 15(whatever you have)-->ok
Or
Add this in Android manifest file.
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="15" />
you can add target SDK any which you have but it must be Google API
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With