[INSTALL_FAILED_TEST_ONLY: installPackageLI]
Drjacky opened this issue · 1 comments
Drjacky commented
When I try to install the patched APK, I get this:
Performing Streamed Install
adb: failed to install /myapp-patched.apk: Failure [INSTALL_FAILED_TEST_ONLY: installPackageLI]
Drjacky commented
I had to use adb install -t -r -d myapp-patched.apk
where:
-t: allow test packages
-r: replace existing application
-d: allow version code downgrade (debuggable packages only)