ADB Install Fails With INSTALL_FAILED_TEST_ONLY

I am having issues installing an apk to my device. adb install <.apk> Using the above command returns the following: 5413 KB/s (99747 bytes in 0.017s) pkg: /data/local/tmp/AppClient.TestOnly.App3.apk Failure [INSTALL_FAILED_TEST_ONLY] Any idea on what might cause this issue? It definitely recognizes the device. Could it be an issue with the apk? 27 Answers 27

Difference between signature versions – V1 (Jar Signature) and V2 (Full APK Signature) while generating a signed APK in Android Studio?

Please select at least one of the signature versions to use in Android Studio 2.3 Now while generating a signed APK in Android Studio, it’s showing two options (CheckBox) namely 1. V1 (Jar Signature) and 2. V2 (Full APK Signature) as Signature Versions in the last step of signed APK generating process. So, what is … Read more

Cause: buildOutput.apkData must not be null

My android application using Kotlin is throwing this exception when I try to Run ‘app’ in the emulator o in my cellphone. When I build my project it runs well, with no errors. I am using: SDK 28 (Android 9.0 (Pie)) Gradle 5.1.1 Gradle Plugin 3.5.0-alpha03 Kotlin 1.3.10 Java 1.8.0_151 OSX 10.13.2 org.gradle.internal.exceptions.LocationAwareException: buildOutput.apkData must … Read more

How to deal with INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES without uninstall?

I tried to reinstall an apk $adb install -r new.apk And it shows the error: Failure [INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES] One solution is to uninstall and install the new.apk, that works fine. But I’m wondering whether I could re-build an apk and re-install without the uninstallation. Eg. change some config in the AndroidManifest.xml, or not sign the APK, … Read more

This version of the application is not configured for billing through Google Play

When I try to run my application with in-app billing I am getting the error: “This version of the application is not configured for billing through Google Play. Check the help center for more information”. I have the billing permission already in the Manifest file and I have a signed .apk uploaded as a draft … Read more