Launch failed: Installation failed. Failure [INSTALL_FAILED_TEST_ONLY
- By James_Watson
- Android Development
- 5 Replies
No apk is produced.
So it also means that the built failed.
(or, because it 's supposed to get installed directly on the phone, it' s not saved on my pc)
EDIT:
-I built it with the command line: gradlew assembleDebug
-then adb install -t myapp.apk
...and worked!
Thank you all!
In general, either Android Studio or VS Code will build and generate a debug version apk file on your PC. You may locate that apk file on your PC before running the command line: adb install.
Anyway, the problem is solved.



do I really care, I only use it maybe once a month (it's basically a back up phone in case I am somewhere were Verizon doesn't have service