【发布时间】:2013-05-15 10:53:35
【问题描述】:
我正在尝试在我的应用程序中使用 com.google.android.gms.maps.MapView。它编译没有问题,但是从 Android Studio 启动它时出现以下错误:
Failure [INSTALL_FAILED_MISSING_SHARED_LIBRARY]
main thread for this question 里的一切我都试过了。
- 我已经安装了Google APIs
- 我的构建目标是Google APIs (4.0)
- 我的 AndroidManifest.xml 文件的
<application>标记中有<uses-library android:name="com.google.android.gms.maps" /> - 我的 AVD 使用 Google APIs target
- 我的真机有谷歌播放服务installed and up-to-date
- preview pane of my activity file 中也可见错误
如果我删除 MapView 引用和 <uses-library> 标记,则应用程序将启动。
这涵盖了我可以找到的关于该主题的其他主题的所有内容。有谁知道其他可能导致此错误的原因?
【问题讨论】:
标签: java android intellij-idea android-studio