Warning:library class org.apache.http.conn.ManagedClientConnection extends or implements program class org.apache.http.HttpClientConnection
尽管-dontwarn org.apache.**
在我的 proguard 规则文件中有
Warning:org.joda.time.Weeks: can't find referenced class org.joda.convert.FromString
尽管-dontwarn org.joda.**
在我的 proguard 规则文件中有,并且-keep class org.** { *; }
随着-keep interface org.** { *; }
Warning:there were 140 instances of library classes depending on program classes.
Error:Execution failed for task ':app:proguardRelease'.
> java.io.IOException: Please correct the above warnings first.
那么我看看我的应用程序结构
buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-project.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
zipAlignEnabled true
}
}
proguard-project.txt
与此模块中的此 build.gradle 文件位于同一文件夹中。
不知道现在出了什么问题,我想当我被要求更新到 Build Tools 21.1.1 以使其他事情正常工作时,没有人告诉我其他事情。任何见解表示赞赏。