1, problem
Notebook newly installed Android studi (version 3.5.2) is running the most simple procedure, the following error message
The application could not be installed: INSTALL_FAILED_TEST_ONLY
2, analysis
High version of Android studio which follows the default file AndroidManifest.xml
android:testOnly="true"
3, the solution
I tried to install using the following command failed
adb install -t app-debug.apk
Then I try to add the following AndroidManifest.xml which also failed
android:testOnly="false"
Finally, I gradle.properties globally in the project configuration settings as follows, to run behind success.
android.injected.testOnly=false