android代码混淆Warning:okio.DeflaterSink: can't find referenced class
2017-06-27 19:14
621 查看
Android studio 代码混淆遇到的两个问题
找不到app/build/intermediates/proguard-rules/release/aapt_rules.txt文件
解决方法:Build->clean Project->Make Project
Information:Gradle tasks [:app:assembleRelease]
Warning:okio.DeflaterSink: can’t find referenced class org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
Warning:okio.Okio: can’t find referenced class java.nio.file.Files
Warning:okio.Okio: can’t find referenced class java.nio.file.Path
Warning:okio.Okio: can’t find referenced class java.nio.file.OpenOption
Warning:okio.Okio: can’t find referenced class java.nio.file.Path
Warning:okio.Okio: can’t find referenced class java.nio.file.OpenOption
Warning:okio.Okio: can’t find referenced class org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
Warning:okio.Okio: can’t find referenced class java.nio.file.Path
Warning:okio.Okio: can’t find referenced class java.nio.file.OpenOption
Warning:okio.Okio: can’t find referenced class java.nio.file.Path
Warning:okio.Okio: can’t find referenced class java.nio.file.OpenOption
Warning:okio.Okio: can’t find referenced class org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
Warning:there were 14 unresolved references to classes or interfaces.
Warning:Exception while processing task java.io.IOException: Please correct the above warnings first.
Error:Execution failed for task ‘:app:transformClassesAndResourcesWithProguardForRelease’.
Job failed, see logs for details
解决办法:在proguard-rule.pro文件下加一句 -dontwarn okio.**
找不到app/build/intermediates/proguard-rules/release/aapt_rules.txt文件
解决方法:Build->clean Project->Make Project
Information:Gradle tasks [:app:assembleRelease]
Warning:okio.DeflaterSink: can’t find referenced class org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
Warning:okio.Okio: can’t find referenced class java.nio.file.Files
Warning:okio.Okio: can’t find referenced class java.nio.file.Path
Warning:okio.Okio: can’t find referenced class java.nio.file.OpenOption
Warning:okio.Okio: can’t find referenced class java.nio.file.Path
Warning:okio.Okio: can’t find referenced class java.nio.file.OpenOption
Warning:okio.Okio: can’t find referenced class org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
Warning:okio.Okio: can’t find referenced class java.nio.file.Path
Warning:okio.Okio: can’t find referenced class java.nio.file.OpenOption
Warning:okio.Okio: can’t find referenced class java.nio.file.Path
Warning:okio.Okio: can’t find referenced class java.nio.file.OpenOption
Warning:okio.Okio: can’t find referenced class org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
Warning:there were 14 unresolved references to classes or interfaces.
Warning:Exception while processing task java.io.IOException: Please correct the above warnings first.
Error:Execution failed for task ‘:app:transformClassesAndResourcesWithProguardForRelease’.
Job failed, see logs for details
解决办法:在proguard-rule.pro文件下加一句 -dontwarn okio.**
相关文章推荐
- Eclipse打包Android混淆代码降低代码可读性时,出现的Warning:can't find referenced class问题的解决方案
- Android代码混淆第三方jar,can't find referenced class的解决
- Android 代码混淆can’t find referenced class问题解决方案
- Android代码混淆第三方jar,can't find referenced class的解决
- Android代码混淆第三方jar,can't find referenced class的解决
- Eclipse打包Android项目时用到proguard.cfg后,出现的Warning:can't find referenced class问题的解决方案
- Eclipse打包Android项目时用到proguard.cfg后,出现的Warning:can't find referenced class问题的解决方案
- 【android 反编译】Eclipse打包Android项目时用到proguard.cfg后,出现的Warning:can't find referenced class问题的解决方案
- Eclipse打包Android项目时用到proguard.cfg后,出现的Warning:can't find referenced class问题的解决方案
- Eclipse打包Android项目时用到proguard.cfg后,出现的Warning:can't find referenced class问题的解决方案
- Eclipse打包Android项目时用到proguard.cfg后,出现的Warning:can't find referenced class问题的解决方案
- Java混淆工具ProGuard的最简明使用方法及Warning: can’t find referenced class xxx的解决方法
- Eclipse打包Android项目时用到proguard.cfg后,出现的Warning:can't find referenced class问题的解决方式
- compile Android - 出现Warning:can't find referenced class问题的解决方案
- Eclipse打包Android项目时用到proguard.cfg后,出现的Warning:can't find referenced class问题的解决方案
- Eclipse打包Android项目时用到proguard.cfg后,出现的Warning:can't find referenced class问题的解决方案
- Eclipse打包Android项目时用到proguard.cfg后,出现的Warning:can't find referenced class问题的解决方案
- Warning:com.alipay.android.phone.mrpc.core.AndroidHttpClient: can't find referenced method 'org.apac
- can t find dynamically referenced class android os systemproperties
- Warning: can't find referenced field/method '...' in library class ...