When generating a signed APK for an app using ProGuard with Play Services, I encountered this Issue 3001 preventing the APK from being generated due to errors being thrown up. The two possible workarounds seem to be: A. Add statements to proguard-project.txt -keep class com.google.android.gms.** { *; } -dontwarn com.google.android.gms.** or B. Add missing library back in: android { useLibrary 'org.apache.http.legacy' } Chose option A to avoid enlarging the APK size. Seems to be an issue with SDK 23 and 24 apparently, as it was updated yesterday. Awaiting fix. Comments are closed.
|
AuthorExploring Android and mobile web design, security, and development. Archives
March 2021
Categories |