android - Genymotion 模拟器 : Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY

标签 android genymotion

我有一个使用 Google Maps API V1 的项目。所以我需要在我的 list 中添加关注标签

         <uses-library android:name="com.google.android.maps" />

问题是当我尝试在 Genymotion 模拟器上运行时。我收到了这个错误

        Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY

当我删除 uses-library 标记时,我可以运行我的项目,但是我的 Activity 中出现了使用 google maps api 的其他错误。

我能做什么??

谢谢

最佳答案

我相信他们放弃了 Google Apps 选项,您现在必须使用以下链接中的 apk 文件手动安装它。您只需将它们放在 VM 上,它们就会被安装。

原始来源

This is a good tutorial .检查此链接以获取这些压缩文件的最新位置。 以下步骤中的链接可能会损坏。

一步一步

只是对所需步骤的引用。 检查上一个链接以获取最新信息,以防这些链接被破坏。

1) Download the following ZIPs:

ARM Translation Installer Android 6.0 - https://mega.nz/#!p4lFlCZR!TFsb8dMqNdAJjKoCDPDDvNtcQdEB0-KkVlTgQVwG20s

Download the correct GApps for your Android version:

适用于 Android 4.3 的 Google Apps 的更新链接是(以下链接已损坏)https://www.androidfilehost.com/?fid=23060877490000124

感谢用户 @SAM 的更新

Google Apps for Android 4.3 - http://goo.im/gapps/gapps-jb-20130813-signed.zip

Google Apps for Android 4.2 - http://goo.im/gapps/gapps-jb-20130812-signed.zip

Google Apps for Android 4.1 - http://goo.im/gapps/gapps-jb-20121011-signed.zip

2) Next Open your Genymotion VM and go to the Homescreen

3) Now Drag&Drop the Genymotion-ARM-Translation.zip onto the Genymotion VM window.

4) It should say "File transfer in progress", once it asks you to flash it click 'OK'

5) Now Reboot your VM using ADB or an app like ROM Toolbox. If nescessary you can simply close the VM window, but I don't recommend it.

6) Once you're on the Homescreen again Drag&Drop the gapps-jb-20130813-signed.zip(or whatever version you got) onto your VM, and click 'OK' when asked

7) Once it finishes, again Reboot your VM and open the Google Play Store. Sign in using your Google account

8) Once in the Store go to the 'My Apps' menu and let everything update(fixes a lot of issues)

9) Now try searching for 'Netflix' and 'Google Drive'

10) If both apps show up in the results and you're able to Download/Install them, then congrats you now have ARM support and Google Play fully setup!

关于android - Genymotion 模拟器 : Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20635134/

相关文章:

android - 在不同市场上发布 Android 应用程序

android - genymotion 允许 su 永久访问

android - 基于 LibGdx 的 Android 应用程序中指定区域的 WebView

java - 如何为 Android 动态壁纸创 build 置 Activity

android - 我正在尝试使用 adb monkey 命令通过 adb 启动设置,但它一直打印出 "Killed"。我怎样才能找出造成这种情况的原因?

android - 如何设置默认的安卓模拟器

android - Genymotion 不显示所有 API 版本

android - 如何在 Genymotion 模拟器上测试 IME_ACTION_DONE

安卓|在 Genymotion 模拟器上调试 native 应用程序

android - Google Tagmanager Android 中的权限被拒绝错误