草庐IT

android - Genymotion 模拟器 : Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY

coder 2023-06-09 原文

我有一个使用 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 - Genymotion 模拟器 : Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY的更多相关文章

  1. ruby-on-rails - rails : "missing partial" when calling 'render' in RSpec test - 2

    我正在尝试测试是否存在表单。我是Rails新手。我的new.html.erb_spec.rb文件的内容是:require'spec_helper'describe"messages/new.html.erb"doit"shouldrendertheform"dorender'/messages/new.html.erb'reponse.shouldhave_form_putting_to(@message)with_submit_buttonendendView本身,new.html.erb,有代码:当我运行rspec时,它失败了:1)messages/new.html.erbshou

  2. ruby - 难道Lua没有和Ruby的method_missing相媲美的东西吗? - 2

    我好像记得Lua有类似Ruby的method_missing的东西。还是我记错了? 最佳答案 表的metatable的__index和__newindex可以用于与Ruby的method_missing相同的效果。 关于ruby-难道Lua没有和Ruby的method_missing相媲美的东西吗?,我们在StackOverflow上找到一个类似的问题: https://stackoverflow.com/questions/7732154/

  3. ruby-on-rails - Rails 3 I18 : translation missing: da. datetime.distance_in_words.about_x_hours - 2

    我看到这个错误:translationmissing:da.datetime.distance_in_words.about_x_hours我的语言环境文件:http://pastie.org/2944890我的看法:我已将其添加到我的application.rb中:config.i18n.load_path+=Dir[Rails.root.join('my','locales','*.{rb,yml}').to_s]config.i18n.default_locale=:da如果我删除I18配置,帮助程序会处理英语。更新:我在config/enviorments/devolpment

  4. ruby-on-rails - 新 Rails 项目 : 'bundle install' can't install rails in gemfile - 2

    我已经像这样安装了一个新的Rails项目:$railsnewsite它执行并到达:bundleinstall但是当它似乎尝试安装依赖项时我得到了这个错误Gem::Ext::BuildError:ERROR:Failedtobuildgemnativeextension./System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/rubyextconf.rbcheckingforlibkern/OSAtomic.h...yescreatingMakefilemake"DESTDIR="cleanmake"DESTDIR="

  5. ruby-on-rails - 错误 : Error installing pg: ERROR: Failed to build gem native extension - 2

    我克隆了一个rails仓库,我现在正尝试捆绑安装背景:OSXElCapitanruby2.2.3p173(2015-08-18修订版51636)[x86_64-darwin15]rails-v在您的Gemfile中列出的或native可用的任何gem源中找不到gem'pg(>=0)ruby​​'。运行bundleinstall以安装缺少的gem。bundleinstallFetchinggemmetadatafromhttps://rubygems.org/............Fetchingversionmetadatafromhttps://rubygems.org/...Fe

  6. 安卓apk修改(Android反编译apk) - 2

    最近因为项目需要,需要将Android手机系统自带的某个系统软件反编译并更改里面某个资源,并重新打包,签名生成新的自定义的apk,下面我来介绍一下我的实现过程。APK修改,分为以下几步:反编译解包,修改,重打包,修改签名等步骤。安卓apk修改准备工作1.系统配置好JavaJDK环境变量2.需要root权限的手机(针对系统自带apk,其他软件免root)3.Auto-Sign签名工具4.apktool工具安卓apk修改开始反编译本文拿Android系统里面的Settings.apk做demo,具体如何将apk获取出来在此就不过多介绍了,直接进入主题:按键win+R输入cmd,打开命令窗口,并将路

  7. ruby-on-rails - `const_missing' : uninitialized constant (NameError) - 2

    每次我尝试使用“script/runner-eproductionClassName.run”从我的Rails2.2应用程序的lib目录运行任何类时,我都会收到以下错误:/usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/commands/runner.rb:47:/usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:89:in`const_missing':uninitializedconstantClassName(NameError)

  8. ruby-on-rails - "rails generate rspec:install"似乎失败了 - 2

    运行:ruby1.9.3p0和Rails3.2.1尝试使用rspec但当我尝试将其安装到我的应用程序中时出现以下错误:/Users/Si/.rvm/gems/ruby-1.9.3-p0/gems/railties-3.2.1/lib/rails/railtie/configuration.rb:85:in`method_missing':undefinedmethod`generators'for#(NoMethodError)from/Users/Si/.rvm/gems/ruby-1.9.3-p0/gems/rspec-rails-2.0.0.beta.18/lib/rspec-r

  9. ruby-on-rails - 如何找出拦截 'method_missing' 的内容 - 2

    使用Ruby1.8.6/Rails2.3.2我注意到在我的任何ActiveRecord模型类上调用的任何方法都返回nil而不是NoMethodError。除了烦人之外,这还破坏了动态查找器(find_by_name、find_by_id等),因为即使存在记录,它们也总是返回nil。不从ActiveRecord::Base派生的标准类不受影响。有没有办法追踪在ActiveRecord::Base之前拦截method_missing的是什么?更新:切换到1.8.7后,我发现(感谢@MichaelKohl)will_paginate插件首先处理method_missing。但是will_pa

  10. ruby-on-rails - gem install rmagick -v 2.13.1 错误 Failed to build gem native extension on Mac OS 10.9.1 - 2

    我已经通过提供MagickWand.h的路径尝试了一切,我安装了命令工具。谁能帮帮我?$geminstallrmagick-v2.13.1Buildingnativeextensions.Thiscouldtakeawhile...ERROR:Errorinstallingrmagick:ERROR:Failedtobuildgemnativeextension./Users/ghazanfarali/.rvm/rubies/ruby-1.8.7-p357/bin/rubyextconf.rbcheckingforRubyversion>=1.8.5...yescheckingfor/

随机推荐