Can't process class [com/c/a/a/e.class] (Unknown verification type [255] in stac

Roly 2013-12-04 10:25:07
有人遇到过这样的问题,引用第三方jar包的混淆打包的时候,使用keep class XX 后也还是报这样的错误,有解决的吗?
...全文
513 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
tyoung0000 2014-05-22
  • 打赏
  • 举报
回复
楼主问题解决了吗?遇到一样的问题啊,各种办法都试了,还是无法导出apk啊
Roly 2013-12-09
  • 打赏
  • 举报
回复
难道大家都没有解决办法了吗?有想法的可以提供交流,共同进步,谢谢~
Roly 2013-12-04
  • 打赏
  • 举报
回复
引用 2 楼 j67065 的回复:
[quote=引用 1 楼 pengguohua1988 的回复:] 混淆文件贴一下
# To enable ProGuard in your project, edit project.properties # to define the proguard.config property as described in that file. # # Add project specific ProGuard rules here. # By default, the flags in this file are appended to flags specified # in ${sdk.dir}/tools/proguard/proguard-android.txt # You can edit the include path and order by changing the ProGuard # include property in project.properties. # # For more details, see # http://developer.android.com/guide/developing/tools/proguard.html # Add any project specific keep options here: # If your project uses WebView with JS, uncomment the following # and specify the fully qualified class name to the JavaScript interface # class: #-keepclassmembers class fqcn.of.javascript.interface.for.webview { # public *; #} -ignorewarnings -libraryjars libs/android-support-v4.jar -libraryjars libs/shell.jar -dontwarn com.a** -dontwarn com.b** -dontwarn com.c** -dontwarn com.shell** -keep class com.a** { *; } -keep class com.b** { *; } -keep class com.c** { *; } -keep class com.shell** { *; } 这个是混淆文件[/quote]第三方jar包里面所有的类都已经keep了,可是还是不管用,很纠结的一个问题,网上找了很多,最终还是没有给出这个问题的回答方法
Roly 2013-12-04
  • 打赏
  • 举报
回复
引用 1 楼 pengguohua1988 的回复:
混淆文件贴一下
# To enable ProGuard in your project, edit project.properties # to define the proguard.config property as described in that file. # # Add project specific ProGuard rules here. # By default, the flags in this file are appended to flags specified # in ${sdk.dir}/tools/proguard/proguard-android.txt # You can edit the include path and order by changing the ProGuard # include property in project.properties. # # For more details, see # http://developer.android.com/guide/developing/tools/proguard.html # Add any project specific keep options here: # If your project uses WebView with JS, uncomment the following # and specify the fully qualified class name to the JavaScript interface # class: #-keepclassmembers class fqcn.of.javascript.interface.for.webview { # public *; #} -ignorewarnings -libraryjars libs/android-support-v4.jar -libraryjars libs/shell.jar -dontwarn com.a** -dontwarn com.b** -dontwarn com.c** -dontwarn com.shell** -keep class com.a** { *; } -keep class com.b** { *; } -keep class com.c** { *; } -keep class com.shell** { *; } 这个是混淆文件
MR__P 2013-12-04
  • 打赏
  • 举报
回复
混淆文件贴一下

80,351

社区成员

发帖
与我相关
我的任务
社区描述
移动平台 Android
androidandroid-studioandroidx 技术论坛(原bbs)
社区管理员
  • Android
  • yechaoa
  • 失落夏天
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧