Android混淆打包出错,出现类似 there were 100 duplicate class definitions解决办法
2014-12-20 10:31
1071 查看
[2014-11-24 10:39:39 - Haiwan] Proguard returned with error code 1. See console
[2014-11-24 10:39:39 - Haiwan] Note: there were 133 duplicate class definitions.
[2014-11-24 10:39:39 - Haiwan] Warning: android.support.v7.app.ActionBarActivityDelegateBase$2: can't find superclass or interface android.support.v4.view.OnApplyWindowInsetsListener
[2014-11-24 10:39:39 - Haiwan] Warning: android.support.v7.internal.app.WindowDecorActionBar$1: can't find superclass or interface android.support.v4.view.ViewPropertyAnimatorListenerAdapter
[2014-11-24 10:39:39 - Haiwan] Warning: android.support.v7.internal.app.WindowDecorActionBar$2: can't find superclass or interface android.support.v4.view.ViewPropertyAnimatorListenerAdapter
[2014-11-24 10:39:39 - Haiwan] Warning: android.support.v7.internal.app.WindowDecorActionBar$3: can't find superclass or interface
[2014-11-24 10:39:39 - Haiwan] You should check if you need to specify additional program jars.
[2014-11-24 10:39:39 - Haiwan] Warning: there were 164 unresolved references to classes or interfaces.
[2014-11-24 10:39:39 - Haiwan] You may need to specify additional library jars (using '-libraryjars').
[2014-11-24 10:39:39 - Haiwan] Warning: there were 44 unresolved references to program class members.
[2014-11-24 10:39:39 - Haiwan] Your input classes appear to be inconsistent.
[2014-11-24 10:39:39 - Haiwan] You may need to recompile them and try again.
[2014-11-24 10:39:39 - Haiwan] Alternatively, you may have to specify the option
[2014-11-24 10:39:39 - Haiwan] '-dontskipnonpubliclibraryclassmembers'.
[2014-11-24 10:39:39 - Haiwan] Error: Please correct the above warnings first.
根据提示,在proguard-project.txt文件添加
-dontusemixedcaseclassnames
-dontskipnonpubliclibraryclasses
-verbose
-ignorewarnings
[2014-11-24 10:39:39 - Haiwan] Note: there were 133 duplicate class definitions.
[2014-11-24 10:39:39 - Haiwan] Warning: android.support.v7.app.ActionBarActivityDelegateBase$2: can't find superclass or interface android.support.v4.view.OnApplyWindowInsetsListener
[2014-11-24 10:39:39 - Haiwan] Warning: android.support.v7.internal.app.WindowDecorActionBar$1: can't find superclass or interface android.support.v4.view.ViewPropertyAnimatorListenerAdapter
[2014-11-24 10:39:39 - Haiwan] Warning: android.support.v7.internal.app.WindowDecorActionBar$2: can't find superclass or interface android.support.v4.view.ViewPropertyAnimatorListenerAdapter
[2014-11-24 10:39:39 - Haiwan] Warning: android.support.v7.internal.app.WindowDecorActionBar$3: can't find superclass or interface
[2014-11-24 10:39:39 - Haiwan] You should check if you need to specify additional program jars.
[2014-11-24 10:39:39 - Haiwan] Warning: there were 164 unresolved references to classes or interfaces.
[2014-11-24 10:39:39 - Haiwan] You may need to specify additional library jars (using '-libraryjars').
[2014-11-24 10:39:39 - Haiwan] Warning: there were 44 unresolved references to program class members.
[2014-11-24 10:39:39 - Haiwan] Your input classes appear to be inconsistent.
[2014-11-24 10:39:39 - Haiwan] You may need to recompile them and try again.
[2014-11-24 10:39:39 - Haiwan] Alternatively, you may have to specify the option
[2014-11-24 10:39:39 - Haiwan] '-dontskipnonpubliclibraryclassmembers'.
[2014-11-24 10:39:39 - Haiwan] Error: Please correct the above warnings first.
根据提示,在proguard-project.txt文件添加
-dontusemixedcaseclassnames
-dontskipnonpubliclibraryclasses
-verbose
-ignorewarnings
相关文章推荐
- Android混淆打包出错,出现类似 there were 100 duplicate class definitions解决办法 分类: Android安装及配置 2014-12-20 10:31 171人阅读 评论(0) 收藏
- Android混淆打包出错,出现类似 there were 133 duplicate class definitions.
- Android混淆打包出错,出现类似 there were 133 duplicate class definitions.
- Android混淆打包出错,出现类似 there were 100 duplicate class defin
- Android打包出现形如“Dx bad class file magic (cafebabe) or version (0033.0000)1”的错误的原因及其解决办法
- ksoap2 代码混淆时出现duplicate definition of library class [org.xmlpull.v1.**的解决办法
- android打包混淆代码编译会出现很多warling,然后编译失败问题解决办法
- Android项目出现main.xml编译出错和 出现main.out.xml无法编译的解决办法
- 编译Android系统AIDL模块出现couldn't find import for class错误的解决办法
- Android项目运行junit测试类时出现错误Internal Error (classFileParser.cpp:3494)的解决办法
- Android项目运行junit测试类时出现错误Internal Error (classFileParser.cpp:3494)的解决办法
- 打包Android编译出错make: *** No rule to make target 解决办法
- 混淆打包及出错信息的解决办法
- android中使用代码混淆出现Conversion to Dalvik format failed with error 1错误的解决办法
- Android项目运行junit测试类时出现错误Internal Error (classFileParser.cpp:3494)的解决办法
- Android项目运行junit测试类时出现错误Internal Error (classFileParser.cpp:3494)的解决办法
- 关于游戏打包Android后,出现Consumer closed input channel or an error occurred. events=0x8错误的解决办法
- Android项目运行junit测试类时出现错误Internal Error (classFileParser.cpp:3494)的解决办法
- Android 混淆出错各种解决办法
- android中使用代码混淆出现Conversion to Dalvik format failed with error 1错误的解决办法