baidu_19694879
baidu_19694879
采纳率50%
2017-01-09 09:40

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

20

项目中已经将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条回答

  • ssh159 凉城古梦喵扑街 4年前

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

    点赞 评论 复制链接分享
  • zhangpan_soft zhangpan_soft 4年前

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

    点赞 评论 复制链接分享
  • zhangpan_soft zhangpan_soft 4年前

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

    点赞 评论 复制链接分享