gpt4 book ai didi

google-maps - 安卓 : requires unavailable shared library com. google.android.maps;失败

转载 作者:行者123 更新时间:2023-12-04 13:28:31 25 4
gpt4 key购买 nike

首先,我在project\properties\android中设置了Project Build Target。
我使用 Google API 创建了 7 级和 8 级的 AVD,将每个 AVD 仅设置为 4Gb 的 SD 卡大小,将 SDK 的最小版本设置为 7,在 list 文件中将目标 SDK 设置为 8。没有成功。
我删除所有 AVD 并重新创建它们。

在我重新安装 Eclipse Rcp、在 Eclipse 中安装 ADT 并安装 Android SDK 后,再次创建 AVD。

我的 GPS 应用程序在没有 Google API 的情况下运行良好,在早期版本中,我目前在 MapView 上实现了一个显示轨迹日志的 View ,我的应用程序不起作用。

DDMS 从未显示过 eclipse 。

我该如何解决这个错误?

[2012-03-26 09:27:50 - GPS] Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY
[2012-03-26 09:27:50 - GPS] Please check logcat output for more details.
[2012-03-26 09:27:51 - GPS] Launch canceled!

这是 LogCat 错误日志:
03-26 07:26:22.220: E/vold(27): Error opening switch name path '/sys/class/switch/test' (No such file or directory)
03-26 07:26:22.220: E/vold(27): Error bootstrapping switch '/sys/class/switch/test' (No such file or directory)
03-26 07:26:22.220: E/vold(27): Error opening switch name path '/sys/class/switch/test2' (No such file or directory)
03-26 07:26:22.220: E/vold(27): Error bootstrapping switch '/sys/class/switch/test2' (No such file or directory)
03-26 07:27:03.399: E/BatteryService(66): usbOnlinePath not found
03-26 07:27:03.399: E/BatteryService(66): batteryVoltagePath not found
03-26 07:27:03.399: E/BatteryService(66): batteryTemperaturePath not found
03-26 07:27:03.420: E/SurfaceFlinger(66): Couldn't open /sys/power/wait_for_fb_sleep or /sys/power/wait_for_fb_wake
03-26 07:27:27.730: E/EventHub(66): could not get driver version for /dev/input/mouse0, Not a typewriter
03-26 07:27:27.730: E/EventHub(66): could not get driver version for /dev/input/mice, Not a typewriter
03-26 07:27:28.440: E/System(66): Failure starting core service
03-26 07:27:28.440: E/System(66): java.lang.SecurityException
03-26 07:27:28.440: E/System(66): at android.os.BinderProxy.transact(Native Method)
03-26 07:27:28.440: E/System(66): at android.os.ServiceManagerProxy.addService(ServiceManagerNative.java:146)
03-26 07:27:28.440: E/System(66): at android.os.ServiceManager.addService(ServiceManager.java:72)
03-26 07:27:28.440: E/System(66): at com.android.server.ServerThread.run(SystemServer.java:176)
03-26 07:27:28.440: E/AndroidRuntime(66): Crash logging skipped, no checkin service
03-26 07:27:39.779: E/ActivityThread(120): Failed to find provider info for android.server.checkin
03-26 07:27:41.341: E/ActivityThread(120): Failed to find provider info for android.server.checkin
03-26 07:27:41.530: E/ActivityThread(120): Failed to find provider info for android.server.checkin
03-26 07:27:42.060: E/ActivityThread(120): Failed to find provider info for android.server.checkin
03-26 07:27:42.140: E/ActivityThread(120): Failed to find provider info for android.server.checkin
03-26 07:27:49.890: E/PackageManager(66): Package com.lkv.mobile.apps.gps requires unavailable shared library com.google.android.maps; failing!
03-26 07:27:50.331: E/AndroidRuntime(163): ERROR: thread attach failed

最佳答案

检查您的 Manifest.xml。就我而言,有:

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

我不得不删除。

关于google-maps - 安卓 : requires unavailable shared library com. google.android.maps;失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9868393/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com