Reputation: 2217
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
Reputation: 2217
Goto Tools > Options > Tools for Apache Cordova > Environment Variable Overrides.
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