android studio: vivo X9S手机真机调试
android
同一个程序用华为手机就可以真机调试,而用vivo手机就不行
Installation did not succeed.
The application could not be installed: INSTALL_FAILED_TEST_ONLY
List of apks:
[0] 'D:\code\FirstActivity\app\build\intermediates\apk\debug\app-debug.apk'
Installation failed due to: 'Failed to commit install session 939141274 with command cmd package install-commit 939141274. Error: INSTALL_FAILED_TEST_ONLY'
Retry
Failed to launch an application on all devices
正确这段代码后还是没有用。_
手机里没有允许安装来自未知来源的应用程序这个选项