androidStudio netty已经导入,但是运行时提示找不到netty包 20C

项目中已经将netty的 jar包导入进去了libs文件夹中,但是运行时,还是提示找不到netty包,下面是
日志信息:

1-07 09:41:42.713 10019-10019/com.orangewealth.orangeclient D/Volley: [1] DiskBasedCache.clear: Cache cleared.
01-07 09:41:42.728 10019-10019/com.orangewealth.orangeclient W/dalvikvm: VFY: unable to find class referenced in signature (Lio/netty/channel/Channel;)
01-07 09:41:42.728 10019-10019/com.orangewealth.orangeclient W/dalvikvm: VFY: unable to find class referenced in signature (Lio/netty/channel/Channel;)
01-07 09:41:42.728 10019-10019/com.orangewealth.orangeclient W/dalvikvm: VFY: unable to find class referenced in signature (Lio/netty/channel/Channel;)
01-07 09:41:42.729 10019-10019/com.orangewealth.orangeclient W/dalvikvm: Unable to resolve superclass of Lcom/samton/ibensdk/mainSDK/IBenChatClientHandler; (8073)
01-07 09:41:42.729 10019-10019/com.orangewealth.orangeclient W/dalvikvm: Link of class 'Lcom/samton/ibensdk/mainSDK/IBenChatClientHandler;' failed
01-07 09:41:42.729 10019-10019/com.orangewealth.orangeclient W/dalvikvm: Unable to resolve superclass of Lcom/samton/ibensdk/mainSDK/IBenChatClientHandler; (8073)
01-07 09:41:42.729 10019-10019/com.orangewealth.orangeclient W/dalvikvm: Link of class 'Lcom/samton/ibensdk/mainSDK/IBenChatClientHandler;' failed
01-07 09:41:42.730 10019-10019/com.orangewealth.orangeclient I/dalvikvm: Could not find method com.samton.ibensdk.mainSDK.IBenChatClientHandler.getInstance, referenced from method com.samton.ibensdk.mainSDK.IBenChatClient.ready

3个回答

如果是用的myeclipse|eclipse的话,你找到这个jar,右键,找到build path-->add build path重新部署运行,ok

不好意思,没看到是Android studio,你右键,找到有个叫as....的,点击下就ok了,重新部署运行

songlinjiang
SoGa江 根据提示“unable to find class referenced in signature”为这个jar包添加引用,
大约 3 年之前 回复
baidu_19694879
baidu_19694879 这样的部署已经操作过了
大约 3 年之前 回复

切换project
app-libs 下面的jar包,右键-add as library
即可(识别之后这个会消失),

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问