当引用.jar库时,无法解决超类错误
|
我做了一个Android项目并运行它。运行成功。
我用Java开发了一个Web服务并将其托管。运行成功。
我将Web服务导出到.jar,并将其添加到我的Android项目中。
当我尝试在Web服务中调用方法时,出现“ 0”错误。
我的错误日志:
Unable to resolve superclass of Lweb/service/RandomWordGeneratorService; (73)
Link of class \'Lweb/service/RandomWordGeneratorService;\' failed
Could not find class \'web.service.RandomWordGeneratorService\',
referenced from method tam.miru.Login$1.onClick
VFY: unable to resolve new-instance 110 Lweb/service/RandomWordGeneratorService;)
in Ltam/miru/Login$1;
VFY: replacing opcode 0x22 at 0x005a
VFY: dead code 0x005c-006e in Ltam/miru/Login$1;.onClick (Landroid/view/View;)
没有找到相关结果
已邀请:
8 个回复
梦砍废么
脾萌
,然后清理项目并正常工作。
稳赣苍卯改
熊融炭臀陛
漂截嘘
超可林
迪擅哨乘傅
土投