I keep getting the error:
DEVICE SHELL COMMAND: pm install -r "/data/local/tmp/com.unacademy.debug"
pkg: /data/local/tmp/com.unacademy.debug
Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]
Installation failed since the APK was either not signed, or signed incorrectly.
If this is a Gradle-based project, then make sure the signing configuration is specified in the Gradle build script.
It happens on all devices on all build variants (they use the same config though). Running "Generate Signed APK" from android studio works fine as I use another key.
EDIT:
I did in fact add a library compile 'org.swinglabs:pdf-renderer:1.0.5'
. Removing this, and rebuilding solves the problem.
Part of the build.gradle
:
signingConfigs {
debug {
keyPassword 'hello123'
storeFile file('debug_new.jks')
storePassword 'hello123'
keyAlias 'debug'
}