- iOS/Objective-C 元类和类别
- objective-c - -1001 错误,当 NSURLSession 通过 httpproxy 和/etc/hosts
- java - 使用网络类获取 url 地址
- ios - 推送通知中不播放声音
我正在尝试在我的 Kindle Fire 上运行 Android SDK (Google API 10)
附带的演示 android map 项目 (MapsDemo),但它在安装应用程序时抛出此异常。
[2012-01-31 23:01:15 - MapsDemo] Installing MapsDemo.apk...
[2012-01-31 23:01:17 - MapsDemo] Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY
[2012-01-31 23:01:17 - MapsDemo] Please check logcat output for more details.
和日志猫
01-31 23:06:01.206: D/PackageManager(1372): Scanning package com.example.android.google.apis
01-31 23:06:01.206: E/PackageManager(1372): Package com.example.android.google.apis requires unavailable shared library com.google.android.maps; failing!
01-31 23:06:01.206: W/PackageManager(1372): Package com.example.android.google.apis couldn't be installed.
当我在我的 HTC Desire 中运行时,相同的代码工作正常..
是否可以使用 KML 并使用 Google API 以外的其他方式绘制路线?
有人知道如何解决这个问题吗?
最佳答案
您不能在 Kindle Fire 上使用适用于 Android 的 Google map 插件,因为它不存在。
您可以添加 android:required="false"
给你的<uses-library>
list 中的元素,然后在运行时检查以查看 MapActivity
是否类在您的虚拟机中可用:
try {
Class.forName("com.google.android.maps.MapActivity");
// if you get here, you have Google Maps, so you can safely start a MapActivity
}
catch (Exception e) {
// if you get here, you do not have Google Maps
}
在“您没有 Google map ”的情况下(就像您在火灾中遇到的那样),您该怎么做,由您自己决定。
关于android - 安装错误 : INSTALL_FAILED_MISSING_SHARED_LIBRARY on Kindle fire,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9082784/
你好我已经在 Google Api 级别 7 中制作了应用程序,并且在使用 Google API 7 的模拟器中正常运行。我很困惑,如果我在没有 Google API 的情况下在 Api 级别 7 中
这个问题来自于使用 Android 3.1 的 snmp4android.jar [2013-04-08 14:42:25 - ControlloGiardinoWG] Installation er
我有一个 map 应用程序。我想将它安装在没有可用 map 库的设备上。我不能在应用程序中刻录吗。 最佳答案 不,除非您是盗版者,否则您不能“在应用程序中刻录”。 Google map 是由设备制
我遇到了错误 More than one file was found with OS independent path 'lib/x86_64/libopencv_java3.so'. If you
我是编程新手,请给我一些帮助!我的应用程序在每次更新后都安装成功,直到我决定将“com.github.PhilJay:MPAndroidChart:v3.1.0-alpha”库添加到应用程序中,因为我
我下载了一个 Android map 应用程序,并尝试成功运行该应用程序。然而,当我构建并运行时,我在这里遇到了错误。 --my manifest file
所以我正在开发一个实现 Caldroid 库的 Android 应用程序。起初,当我尝试构建应用程序时,出现了 DexException。我通过从 Syncc/app/build/exploded-a
我正在接管一个项目,并尝试在 Android 模拟器中启动它。我在 Logcat 中收到以下错误: 11-11 06:21:42.215: ERROR/PackageManager(58): 包 co
我是 android 应用程序开发的新手,我想使用 android studio 开发一个示例 map 应用程序 我遵循了 http://android.rzeszow.net/?p=79 中的教程代
[2010-03-04 11:50:15 - AndroidSamples]安装错误:INSTALL_FAILED_MISSING_SHARED_LIBRARY 当我使用 ..
"Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY Please check logcat output for more detai
我通过命令行使用 adb 安装方法收到失败 [INSTALL_FAILED_MISSING_SHARED_LIBRARY]。当我将 ARM(armeabi-v7a) CPU 与 Google API
我正在尝试为 Android 开发一个应用程序。当我尝试运行它时,我在控制台中得到了这个: [2012-05-16 11:49:52 - LDAPLookUp] Installatio
我正在 android 中开发一个基于检测用户位置并显示他周围地点的小应用程序。 我开发了应用程序,但现在我想在 Genymotion 模拟器中试用它。 我发现 Genymotion 模拟器已经安装了
我正在制作一个引用 Linphone 应用程序的应用程序。我正在从 linphone 中的服务向我的应用程序发送一个 Intent 。 我在模拟器(Android 和 Google API)上安装了
我正在尝试在我的 Kindle Fire 上运行 Android SDK (Google API 10) 附带的演示 android map 项目 (MapsDemo),但它在安装应用程序时抛出此异常
我正在按照 Hello MapView 中的说明尝试使用 Android map . 我添加了 在 list 中,我正在针对“Google API”目标进行构建,该目标声称是 API 版本 7。 所以
简而言之,我想知道应用程序的 android list 中是否需要“uses-library”标签才能将另一个 Eclipse 项目用作库。 我的问题与找到的问题相似 here ,我正在寻找一些额外的
当我尝试运行使用 Google API 的 android 应用程序时,我收到以下错误 [2009-07-11 11:46:43 - FirstMapView] Installation error:
我一直在关注有关谷歌地图的教程,这是一个非常基本的教程http://umut.tekguc.info/en/content/google-android-map-v2-step-step ,我无法在模
我是一名优秀的程序员,十分优秀!