Android ADB failed to install apk: INSTALL_FAILED_TEST_ONLY
solve:
1. One is to add in the code,
Add properties to the gradle.properties configuration file and set testOnly to false
2. The other is when installing through adb, add the -t parameter:
adb install -t xxxxxxx.apk