Android INSTALL_FAILED_MISSING_SHARED_LIBRARY 一个安卓模拟器问题

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/2377284/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-20 05:36:31  来源:igfitidea点击:

INSTALL_FAILED_MISSING_SHARED_LIBRARY an android emulator proplem

androidgoogle-maps

提问by saravanan

[2010-03-04 11:50:15 - AndroidSamples]Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY

[2010-03-04 11:50:15 - AndroidSamples]安装错误:INSTALL_FAILED_MISSING_SHARED_LIBRARY

when i uses the

当我使用

<application android:icon="@drawable/icon" android:label="@string/app_name">
        <uses-library android:name="com.google.android.maps" />
..
</application>

please do reply me

请回复我

回答by bladeX

Check to make sure that you run on a google api emulator.

检查以确保您在 google api 模拟器上运行。

回答by samwize

To run on Google API emulator, open your Android SDK & AVD Manager > Available packages > Google Repos > select those Google API levels that you need to test on.

要在 Google API 模拟器上运行,请打开您的 Android SDK & AVD Manager > Available packages > Google Repos > 选择您需要测试的那些 Google API 级别。

After installing them, add them as virtual device and run.

安装它们后,将它们添加为虚拟设备并运行。

回答by Roman Nurik

Check to make sure that your project target in Eclipse (or in your default.properties) has 'Google APIs' in the name, indicating that you're compiling with the Google APIs Add-On.

检查以确保 Eclipse(或您的default.properties)中的项目目标名称中包含“Google APIs”,表明您正在使用 Google APIs Add-On 进行编译。

Also make sure you've set the correct <uses-library>element in your manifest:

还要确保您<uses-library>在清单中设置了正确的元素:

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

For more information on the Google APIs Add-On and using Maps, see this link:

有关 Google API 插件和使用地图的更多信息,请参阅此链接:

回答by Tejasvi Manmatha

I had an apk which i had to install on AVD 4.3 but installation failed due to INSTALL_FAILED_MISSING_SHARED_LIBRARY

我有一个必须在 AVD 4.3 上安装的 apk,但由于 INSTALL_FAILED_MISSING_SHARED_LIBRARY 安装失败

All i had to to was Go android sdk manager -> extras and then install all of the libraries present in that (like android support library etc)

我所要做的就是转到 android sdk manager -> extras 然后安装其中存在的所有库(例如 android 支持库等)

then restart emulator and installation must be fine

然后重启模拟器,安装一定没问题