在Android的INSTALL_FAILED_MISSING_SHARED_LIBRARY错误 [英] INSTALL_FAILED_MISSING_SHARED_LIBRARY error in Android

查看:160
本文介绍了在Android的INSTALL_FAILED_MISSING_SHARED_LIBRARY错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我试图运行Android应用程序,它使用谷歌API我收到以下错误

When I am trying to run an android application which uses Google API I get the following error

[2009-07-11 11点46分43秒 - FirstMapView]安装错误:INSTALL_FAILED_MISSING_SHARED_LIBRARY
  [2009-07-11 11点46分43秒 - FirstMapView。请logcat的输出更多细节
  [2009-07-11 11点46分44秒 - FirstMapView]!启动取消

[2009-07-11 11:46:43 - FirstMapView] Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY
[2009-07-11 11:46:43 - FirstMapView] Please check logcat output for more details.
[2009-07-11 11:46:44 - FirstMapView] Launch canceled!

谁能帮我解决这个问题?

Can anyone help me solve this error?

推荐答案

要获得过去 INSTALL_FAILED_MISSING_SHARED_LIBRARY 错误与谷歌地图Android版:

To get past INSTALL_FAILED_MISSING_SHARED_LIBRARY error with Google Maps for Android:

  1. 安装谷歌地图的API。这可以在Eclispe的的Windows / Android SDK和AVD管理器来完成 - >适用的货物 - >第三方附加组件 - >谷歌公司 - >谷歌的API由谷歌公司的Andr​​oid API X

  1. Install Google map APIs. This can be done in Eclispe Windows/Android SDK and AVD Manager -> Available Packages -> Third Party Add-ons -> Google Inc. -> Google APIs by Google Inc., Android API X

在命令行中创建新的AVD。这可以通过上市来完成 目标(安卓列表的目标),那么Android的创建AVD -n new_avd_api_233 -t谷歌公司:谷歌的API:X

From command line create new AVD. This can be done by listing targets (android list targets), then android create avd -n new_avd_api_233 -t "Google Inc.:Google APIs:X"

然后在Eclipse的Windows / Android的创建AVD(Android虚拟设备) SDK和AVD管理器 - >新建 - >(名称:new_avd_X,目标:谷歌 的API(谷歌公司) - API级别X)

Then create AVD (Android Virtual Device) in Eclipse Windows/Android SDK and AVD Manager -> New... -> (Name: new_avd_X, Target: Google APIs (Google Inc.) - API Level X)

重要 :你必须创建你的AVD与目标作为谷歌的API(谷歌公司),否则会再次失败。

IMPORTANT : You must create your AVD with Target as Google APIs (Google Inc.) otherwise it will again failed.

在Eclipse中的文件创建的Andr​​oid项目/新建/ Android项目和 选择谷歌的API构建目标。

Create Android Project in Eclipse File/New/Android Project and select Google APIs Build Target.

补充<使用库机器人:名称=com.google.android.maps/> 间<应用> < /用途>标签。

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

运行项目的Andr​​oid应用程序。

Run Project as Android Application.

如果错误仍然存​​在,那么你仍然有问题,如果它的工作原理,那么这个错误是永远在你身后。

If error persists, then you still have problems, if it works, then this error is forever behind you.

这篇关于在Android的INSTALL_FAILED_MISSING_SHARED_LIBRARY错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆