与Android Studio:1.2.RC
我在.gradle中启用了proguard:```
minifyEnabled=true
Run Code Online (Sandbox Code Playgroud)
and added these rules to my proguard-rules.pro:
-dontwarn com.squareup.**
-dontwarn okio.**
Run Code Online (Sandbox Code Playgroud)
and added these lint rules to my .gradle file:
warningsAsErrors false
abortOnError false
disable 'InvalidPackage'
Run Code Online (Sandbox Code Playgroud)
```
但是当我尝试在调试模式下运行应用程序时,我仍然会收到这些警告:
```
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.Files
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 …Run Code Online (Sandbox Code Playgroud)