Attached an example APK produced by a debug build from a default starter project in Android Studio. 7zip reports this: 7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21 p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs Intel(R) ...) Open archive: /tmp/MyApplication/app/build/outputs/apk/debug/app-debug.apk ERRORS: Headers Error Unconfirmed start of archive WARNINGS: There are data after the end of archive -- Path = /tmp/MyApplication/app/build/outputs/apk/debug/app-debug.apk...
FYI - Google's Android plugin for Gradle produces debug APK files that yield this same error with 7zip. Other utilities, such as Java's jar command, Windows Explorer, and Ubuntu unzip will extract without error. Furthermore, the APKs are valid and work on Android devices.
FYI - Google's Android plugin for Gradle produces debug APK files that yield this same error with 7zip. Other utilities, such as Java's jar command, Windows Explorer, and Ubuntu unzip will extract without error.