Warning:library class org.apache.http.conn.ManagedClientConnection extends or implements program class org.apache.http.HttpClientConnection
-dontwarn org.apache.**
プロガードルールファイルにあるにもかかわらず
Warning:org.joda.time.Weeks: can't find referenced class org.joda.convert.FromString
-dontwarn org.joda.**
私のプロガードルールファイルにあるにもかかわらず、-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 ファイルと同じフォルダーにあります。
何が壊れているのかわかりませんが、ビルド ツール 21.1.1 に更新して他の機能を動作させる必要があったときに、誰も教えてくれなかったことが他にあると思います。任意の洞察をいただければ幸いです。