Session 'app': Installation did not succeed. The application could not be installed: INSTALL_FAILED_TEST_ONLY Retry
The installation fails after the operation enters the password verification and continues the installation.
Solution
Find the gradle.properties file in the project root directory
Add at the end
android.injected.testOnly = false
Screenshot
Successfully run again!