Android地图:安装错误:INSTALL_FAILED_MISSING_SHARED_LIBRARY [英] Android Maps: Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY

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

问题描述

我试图使用Android地图,按照您好图形页面的说明

I'm trying to use Android Maps, following the instructions in Hello MapView.

我添加<使用库机器人:名称=com.google.android.maps/> 在清单,和我建立针对谷歌的API的目标,号称是API版本7.

I've added <uses-library android:name="com.google.android.maps" /> in the Manifest, and I'm building against the 'Google APIs' target, which claims to be API version 7.

因此​​,我不认为我做什么明显的错误,但该项目拒绝建立与此错误:

So I don't think I'm doing anything obviously wrong, but the project refuses to build with this error:

[2010-12-22 13:34:32 - FMS]Installing FMS.apk...
[2010-12-22 13:35:01 - FMS]Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY
[2010-12-22 13:35:01 - FMS]Please check logcat output for more details.
[2010-12-22 13:35:01 - FMS]Launch canceled!

logcat的告诉我下面的(不是很有启发性):

logcat is telling me the following (not very enlightening):

D/PackageParser(   55): Scanning package: /data/app/vmdl67147.tmp
I/PackageParser(   55): com.android.fms: compat added android.permission.WRITE_EXTERNAL_STORAGE android.permission.READ_PHONE_STATE
E/PackageManager(   55): Package com.android.fms requires unavailable shared library com.google.android.maps; failing!
W/PackageManager(   55): Package couldn't be installed in /data/app/com.android.fms.apk
D/AndroidRuntime(  206): Shutting down VM

有可能,我还没有设置地图API密钥正确的 - 当我的把它用 keytools ,我没有指定 ALIAS_NAME ,虽然这似乎并没有引起错误。

It is possible I haven't set up the Maps API key correctly - when I got it using keytools, I didn't specify an alias_name, though this didn't seem to cause an error.

谁能帮助?

推荐答案

出现这个错误来自于你的设备/仿真器没有安装谷歌地图的事实。

This error arises from the fact that Google Maps not installed on your device/emulator.

查找其他设备(或您的设备上安装谷歌地图),或创建AVD的仿真器与谷歌地图。

Find another device (or install Google Maps on your device) or create AVD for emulator with Google Maps.

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

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