Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我只是想按照这里的教程。执行“import com.google.android.gms.location;”之类的导入语句时出现错误
我已经安装了 Google Play 服务,并且正在使用 Android Studio。
首先,您需要为Android您正在使用的平台的特定版本安装 Google API。
Android
然后,您必须将项目的compile with版本设置为( < >)。然后你就可以导入它了。AndroidGoogle APIsAPIthe api level you are targeting
compile with
Google APIs
API
the api level you are targeting