This commit is contained in:
Nicolas Raoul 2017-02-28 17:13:10 +09:00
parent 951615fa5d
commit 58db62727e
2 changed files with 3 additions and 2 deletions

View file

@ -39,7 +39,7 @@ android {
buildTypes { buildTypes {
release { release {
minifyEnabled true minifyEnabled false // See https://stackoverflow.com/questions/40232404/google-play-apk-and-android-studio-apk-usb-debug-behaving-differently and try reverting if the proguard.cfg modification is enough.
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt' proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
} }
} }

View file

@ -1,3 +1,4 @@
-dontobfuscate -dontobfuscate
-keep class org.apache.http.** { *; } -keep class org.apache.http.** { *; }
-dontwarn org.apache.http.** -dontwarn org.apache.http.**
-keep class fr.free.nrw.commons.upload.MwVolleyApi$Page {*;}