上传时签名的apk崩溃

时间:2014-01-23 20:32:47

标签: android ant thrift

好的,所以我一直在努力解决这个问题,并且没有找到任何有用的东西。

我有一个使用thrift进行上传功能的项目。当我在调试模式下运行它时,一切都很好,应用程序(包括上传)按预期工作。但是,当我发布apk时,它会在上传时崩溃。其他一切似乎都运行正常,但是当我尝试上传时,应用程序就崩溃了。我已经尝试过测试“ant release”所做的未对齐apk,但它有同样的问题。我怀疑签署节俭是个问题,但我不确定。

这是我尝试上传时遇到的错误:

01-23 12:21:20.459: D/dalvikvm(5299): Trying to load lib /data/data/com.company.project/lib/libprocess_rdt.so 0x40626e18
01-23 12:21:20.459: D/dalvikvm(5299): Shared lib '/data/data/com.company.project/lib/libprocess_rdt.so' already loaded in same CL 0x40626e18
01-23 12:21:20.499: D/dalvikvm(5299): GC_EXTERNAL_ALLOC freed 618K, 46% free 3275K/6023K, external 3459K/4642K, paused 31ms
01-23 12:21:20.789: D/dalvikvm(5299): GC_EXTERNAL_ALLOC freed 30K, 46% free 3256K/6023K, external 4735K/4796K, paused 27ms
01-23 12:21:20.899: D/dalvikvm(5299): GC_EXTERNAL_ALLOC freed 40K, 47% free 3223K/6023K, external 5447K/5684K, paused 27ms
01-23 12:21:21.049: D/dalvikvm(5299): GC_EXTERNAL_ALLOC freed 5K, 47% free 3229K/6023K, external 6395K/6572K, paused 41ms
01-23 12:21:21.249: E/dalvikvm(5299): Could not find class 'com.company.cloud.thrift.TestResult', referenced from method com.company.project.a.e.d
01-23 12:21:21.249: W/dalvikvm(5299): VFY: unable to resolve new-instance 125 (Lcom/company/cloud/thrift/TestResult;) in Lcom/company/project/a/e;
01-23 12:21:21.249: D/dalvikvm(5299): VFY: replacing opcode 0x22 at 0x0000
01-23 12:21:21.249: D/dalvikvm(5299): VFY: dead code 0x0002-00c8 in Lcom/company/project/a/e;.d (Lcom/company/project/data/TestResult;)Lcom/company/cloud/thrift/TestResult;
01-23 12:22:33.479: W/dalvikvm(5299): threadid=10: thread exiting with uncaught exception (group=0x40129560)
01-23 12:22:33.489: E/AndroidRuntime(5299): Uncaught handler: thread Thread-14 exiting due to uncaught exception
01-23 12:22:33.489: E/Monkey(5299): exception :java.io.FileNotFoundException: /dev/kmsg (Permission denied)
01-23 12:22:33.519: V/WindowManager(208): Found focus @ 12 = Window{40aad7e0 Upload Test paused=false}
01-23 12:22:33.529: W/System.err(5299): java.io.IOException: Permission denied
01-23 12:22:33.529: E/AndroidRuntime(5299): exception :java.io.FileNotFoundException: /dev/kmsg (Permission denied)
01-23 12:22:33.529: E/AndroidRuntime(5299): exception :java.io.FileNotFoundException: /dev/kmsg (Permission denied)
01-23 12:22:33.529: E/AndroidRuntime(5299): FATAL EXCEPTION: Thread-14
01-23 12:22:33.529: E/AndroidRuntime(5299): java.lang.NoClassDefFoundError: com.company.cloud.thrift.TestService$Client
01-23 12:22:33.529: E/AndroidRuntime(5299):     at com.company.product.a.i.run(Unknown Source)
01-23 12:22:33.529: E/AndroidRuntime(5299):     at java.lang.Thread.run(Thread.java:1019)
01-23 12:22:33.569: W/System.err(5299): java.io.FileNotFoundException: /data/plog.log (Permission denied)

0 个答案:

没有答案