1
11-19 15:13:55.955: W/PackageManager(2096): verifying app can be installed or not
11-19 15:13:56.020: W/PackageParser(2096): /data/app/vmdl2068695449.tmp
11-19 15:13:56.020: W/PackageParser(2096): java.lang.UnsupportedOperationException: Can't convert to integer: type=0x3
11-19 15:13:56.020: W/PackageParser(2096):  at android.content.res.TypedArray.getInteger(TypedArray.java:367)
11-19 15:13:56.020: W/PackageParser(2096):  at android.content.pm.PackageParser.parsePackage(PackageParser.java:856)
11-19 15:13:56.020: W/PackageParser(2096):  at android.content.pm.PackageParser.parsePackage(PackageParser.java:444)
11-19 15:13:56.020: W/PackageParser(2096):  at com.android.server.pm.PackageManagerService.installPackageLI(PackageManagerService.java:7689)
11-19 15:13:56.020: W/PackageParser(2096):  at com.android.server.pm.PackageManagerService.access$1500(PackageManagerService.java:174)
11-19 15:13:56.020: W/PackageParser(2096):  at com.android.server.pm.PackageManagerService$6.run(PackageManagerService.java:6222)
11-19 15:13:56.020: W/PackageParser(2096):  at android.os.Handler.handleCallback(Handler.java:605)
11-19 15:13:56.020: W/PackageParser(2096):  at android.os.Handler.dispatchMessage(Handler.java:92)
11-19 15:13:56.020: W/PackageParser(2096):  at android.os.Looper.loop(Looper.java:137)
11-19 15:13:56.020: W/PackageParser(2096):  at android.os.HandlerThread.run(HandlerThread.java:60)

安装错误:INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION

有什么问题,我该如何解决?

4

2 回答 2

1

已解决的问题 - 问题是我在 menisfest 文件中的版本代码中输入了一个非整数值。

于 2012-11-19T13:31:53.353 回答
-2

我想这是问题所在:

 java.lang.UnsupportedOperationException: Can't convert to integer: type=0x3 

它发生在这里:

TypedArray.java (line 367)
于 2012-11-19T13:18:45.157 回答