当前位置:编程学习 > wap >>

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

有人遇到过这样的问题,引用第三方jar包的混淆打包的时候,使用keep class XX 后也还是报这样的错误,有解决的吗? Android 混淆 --------------------编程问答-------------------- 混淆文件贴一下 --------------------编程问答--------------------
引用 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** { *; }

这个是混淆文件 --------------------编程问答--------------------
引用 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** { *; }

这个是混淆文件
第三方jar包里面所有的类都已经keep了,可是还是不管用,很纠结的一个问题,网上找了很多,最终还是没有给出这个问题的回答方法 --------------------编程问答-------------------- 难道大家都没有解决办法了吗?有想法的可以提供交流,共同进步,谢谢~
补充:移动开发 ,  Android
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,