Failed to deploy to device while deploying cordova app to a connected device

别来无恙 提交于 2019-12-03 05:53:00
Mostafa

To fix this error in Deploying Cordova Apps to Android devices in Visual Studio 2015, You need to enable developer options in your phone. If you are having an Android device here is how to enable developer mode on your phone:

Android 4

1) Click on Settings.

2) Click on About.

3) Click on Software Information.

4) Click on More.

5) Tap multiple times on the Build Number until the phone shows a message that you are a developer!.

Android 5

1) Click on Settings.

2) Click on About.

3) Tap multiple times on the Build Number until the phone shows a message that you are a developer!.


Once you have done that, the "developer options" will be displayed (not hidden anymore) under settings, Make sure to open that and enable USB debugging!

Enjoy.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!