开发者社区 问答 正文

Android4.* 导入JAR包,编译可通过,运行报错?报错

Jar包存放位置:

Build Path 配置:

bin文件:


编译可通过,但运行时报:

E/dalvikvm(26135): Could not find class 'com.haier.hles.remoting.rf.action.RfWsProxy', referenced from method com.goma.example.MainActivity$LoginTask.doInBackground

展开
收起
爱吃鱼的程序员 2020-06-12 11:17:03 516 分享 版权
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    是不是通过反射方式获取Class,如果是的话需要在proguard中-keep用到的类

    2020-06-12 11:17:19
    赞同 展开评论