简体   繁体   English

Google Play服务没有找到lib?

[英]Google Play Services no lib found?

I want to use the Google Play Services for my android app in order to use google place API but on https://developers.google.com/android/guides/setup I must find <android-sdk>/extras/google/google_play_services/libproject/google-play-services_lib/ but I don't find that when I download with androidSDK. 我想在我的Android应用中使用Google Play服务以使用google place API,但在https://developers.google.com/android/guides/setup上我必须找到<android-sdk>/extras/google/google_play_services/libproject/google-play-services_lib/但是当我用androidSDK下载时我没有找到。

Also I read that I had to download m2repository too but I don't find the lib too... 另外我读到我必须下载m2repository但我也没有找到lib ...

The thing I have in this dirctory ( C:\\Program Files (x86)\\Android\\android-sdk\\extras\\google\\m2repository\\com\\google\\android\\gms\\play-services\\10.2.6 ) is this file play-services-10.2.6.aar 我在这个目录( C:\\Program Files (x86)\\Android\\android-sdk\\extras\\google\\m2repository\\com\\google\\android\\gms\\play-services\\10.2.6 )中的东西就是这个文件播放 -服务-10.2.6.aar

Can someone explain me what should I do please ? 有人可以解释一下我该怎么办? ( I'm using netbeans 7.4 ) (我正在使用netbeans 7.4)

Thanks 谢谢

You may want to check highlights from the Google Play services 10.2 release wherein it was stated that it no longer includes full support for Android version 2.3.x. 您可能需要查看Google Play服务10.2版本中的重点,其中声明它不再包含对Android版本2.3.x的完全支持。

Apps developed using SDK release 10.2.x and later require a minimum Android API level of 14 and cannot be installed on devices running an API level below 14. 使用SDK 10.2.x及更高版本开发的应用程序要求最低Android API级别为14,并且无法安装在运行API级别低于14的设备上。

If you haven't done so, try to add this in your Android manifest file. 如果您还没有这样做,请尝试在Android清单文件中添加此项。

<uses-sdk
        android:minSdkVersion="14"
        android:targetSdkVersion="23" />

You may want to check Support Library Setup and this SO post for more information. 您可能需要查看支持库设置和此SO帖子以获取更多信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM