Akhil Soman
Akhil Soman

Reputation: 2217

Visual Studio not showing the device option for Cordova project(Windows 10)

I have created a cordova project in visual studio. For testing the app, the solution platform bar only shows the "Simulate in Browser .." options. The device option is not showing. I have android sdk and android studio installed. I can see my device when i run the adb devices in cmd.

Upvotes: 0

Views: 2004

Answers (1)

Akhil Soman
Akhil Soman

Reputation: 2217

Goto Tools > Options > Tools for Apache Cordova > Environment Variable Overrides.

image

Most probably the ANDROID_HOME check box might be empty. Copy your android sdk location into it. For me its C:\Users\UserName\AppData\Local\Android\sdk. Now restart visual studio. The "Device" option will be there.

Upvotes: 2

Related Questions