不知道这是怎么发生的,我正在构建一个项目,然后下次我构建它时,在 2 分钟内,突然这开始在 eclipse 中发生:
[2012-07-26 12:48:02 - project] Installation error: INSTALL_PARSE_FAILED_CERTIFICATE_ENCODING
[2012-07-26 12:48:02 - project] Please check logcat output for more details.
[2012-07-26 12:48:02 - project] Launch canceled!
亚行输出为:
07-26 12:48:01.656: W/ActivityManager(346): No content provider found for permission revoke: file:///data/local/tmp/xxxx.apk
07-26 12:48:01.726: W/ActivityManager(346): No content provider found for permission revoke: file:///data/local/tmp/xxxx.apk
07-26 12:48:01.781: D/dalvikvm(346): WAIT_FOR_CONCURRENT_GC blocked 0ms
07-26 12:48:01.781: W/PackageParser(346): Exception reading /data/app/vmdl-883532656.tmp
07-26 12:48:01.781: W/PackageParser(346): java.io.IOException: global_list_ch
07-26 12:48:01.781: W/PackageParser(346): ild_row_bck.png.png
07-26 12:48:01.781: W/PackageParser(346): SHA1-Digest
07-26 12:48:01.781: W/PackageParser(346): at java.util.jar.InitManifest.readName(InitManifest.java:130)
07-26 12:48:01.781: W/PackageParser(346): at java.util.jar.InitManifest.readHeader(InitManifest.java:104)
07-26 12:48:01.781: W/PackageParser(346): at java.util.jar.InitManifest.initEntries(InitManifest.java:69)
07-26 12:48:01.781: W/PackageParser(346): at java.util.jar.Manifest.read(Manifest.java:221)
07-26 12:48:01.781: W/PackageParser(346): at java.util.jar.Manifest.<init>(Manifest.java:120)
07-26 12:48:01.781: W/PackageParser(346): at java.util.jar.JarFile.getManifest(JarFile.java:296)
07-26 12:48:01.781: W/PackageParser(346): at android.content.pm.PackageParser.collectCertificates(PackageParser.java:608)
07-26 12:48:01.781: W/PackageParser(346): at com.android.server.pm.PackageManagerService.installPackageLI(PackageManagerService.java:7249)
07-26 12:48:01.781: W/PackageParser(346): at com.android.server.pm.PackageManagerService.access$1600(PackageManagerService.java:159)
07-26 12:48:01.781: W/PackageParser(346): at com.android.server.pm.PackageManagerService$5.run(PackageManagerService.java:5546)
07-26 12:48:01.781: W/PackageParser(346): at android.os.Handler.handleCallback(Handler.java:615)
07-26 12:48:01.781: W/PackageParser(346): at android.os.Handler.dispatchMessage(Handler.java:92)
07-26 12:48:01.781: W/PackageParser(346): at android.os.Looper.loop(Looper.java:137)
07-26 12:48:01.781: W/PackageParser(346): at android.os.HandlerThread.run(HandlerThread.java:60)
我已经尝试了明显的,重启设备,adb uninstall com.project.xxxx
重启adb,重启eclipse,android update project -p ./
真正的问题是这个项目只是坏了,我可以建造任何其他的,去看看!
干杯,克里斯