无法解决超级课程无法找到课程

时间:2016-01-04 10:44:29

标签: android jar classnotfoundexception

Iv最近制作了一个Android库项目和一个演示应用程序来使用该库,一切正常。但是现在我已经将库导出为.Jar,现在当我尝试运行应用程序时,它会抛出错误

01-04 16:03:23.762: W/dalvikvm(4032): Unable to resolve superclass of     
Lcom/applesaucev/sync/SyncInit$1; (1286)
01-04 16:03:23.762: W/dalvikvm(4032): Link of class 
'Lcom/applesaucev/sync/SyncInit$1;' failed
01-04 16:03:23.762: E/dalvikvm(4032): Could not find class  

'com.applesaucev.sync.SyncInit $ 1',从方法
中引用     com.applesaucev.sync.SyncInit.init

01-04 16:03:23.762: W/dalvikvm(4032): VFY: unable to resolve new-instance 
1307 (Lcom/applesaucev/sync/SyncInit$1;) in Lcom/applesaucev/sync/SyncInit;

01-04 16:03:23.762: D/dalvikvm(4032): VFY: replacing opcode 0x22 at 0x002c

01-04 16:03:23.762: W/dalvikvm(4032): Link of class 
'Lcom/applesaucev/sync/SyncInit$1;' failed

01-04 16:03:23.762: D/dalvikvm(4032): DexOpt: unable to opt direct call 
0x2567 at 0x2e in Lcom/applesaucev/sync/SyncInit;.init

01-04 16:03:23.762: W/dalvikvm(4032): Unable to resolve superclass of  

Lcom/applesaucev/sync/Requests$2; (1286)
01-04 16:03:23.762: W/dalvikvm(4032): Link of class   
'Lcom/applesaucev/sync/Requests$2;' failed

Iv以各种可能的方式导出jar,并且所有方式都是交叉堆栈溢出。但我只是不知道为什么这些类对应用程序不可见 任何人都可以告诉我发生了什么

0 个答案:

没有答案