1

我正在按照 Google教程学习 Android 中的 MapsAPI 集成。我已经完成了第 9 步,在那里我编译了项目的第一部分,不幸的是启动失败(在 AVD 内),这是 LogCat 中的错误(红色)部分。

07-01 22:17:16.088: E/StrictMode(867): A resource was acquired at attached stack trace but never released. See java.io.Closeable for information on avoiding resource leaks.
07-01 22:17:16.088: E/StrictMode(867): java.lang.Throwable: Explicit termination method 'close' not called
07-01 22:17:16.088: E/StrictMode(867):  at dalvik.system.CloseGuard.open(CloseGuard.java:184)
07-01 22:17:16.088: E/StrictMode(867):  at java.util.zip.ZipFile.<init>(ZipFile.java:133)
07-01 22:17:16.088: E/StrictMode(867):  at java.util.zip.ZipFile.<init>(ZipFile.java:145)
07-01 22:17:16.088: E/StrictMode(867):  at java.util.jar.JarFile.<init>(JarFile.java:219)
07-01 22:17:16.088: E/StrictMode(867):  at java.util.jar.JarFile.<init>(JarFile.java:204)
07-01 22:17:16.088: E/StrictMode(867):  at android.content.pm.PackageParser.collectCertificates(PackageParser.java:586)
07-01 22:17:16.088: E/StrictMode(867):  at com.android.server.pm.PackageManagerService.installPackageLI(PackageManagerService.java:7859)
07-01 22:17:16.088: E/StrictMode(867):  at com.android.server.pm.PackageManagerService.access$1900(PackageManagerService.java:172)
07-01 22:17:16.088: E/StrictMode(867):  at com.android.server.pm.PackageManagerService$5.run(PackageManagerService.java:5995)
07-01 22:17:16.088: E/StrictMode(867):  at android.os.Handler.handleCallback(Handler.java:725)
07-01 22:17:16.088: E/StrictMode(867):  at android.os.Handler.dispatchMessage(Handler.java:92)
07-01 22:17:16.088: E/StrictMode(867):  at android.os.Looper.loop(Looper.java:137)
07-01 22:17:16.088: E/StrictMode(867):  at android.os.HandlerThread.run(HandlerThread.java:60)

我无法确定日志的开头或结尾,但控制台报告:

[2013-07-02 01:05:11 - RemVoxMapView] Installation error: INSTALL_PARSE_FAILED_CERTIFICATE_ENCODING
[2013-07-02 01:05:11 - RemVoxMapView] Please check logcat output for more details.
[2013-07-02 01:05:11 - RemVoxMapView] Launch canceled!
4

0 回答 0