I am using Visual Studio 2017 for Creating Cordova projects, I have an Android SDK already installed on my machine, how to configure Visual Studio to use it, instead of downloading a new instance of Android SDK?
Enter a name for your application project, adding an optional description as needed. Select the appropriate OS for your application project (Android or iOS only), then select the Cordova platform option. Click the Add new app button on the bottom-right corner of the page. Locate the app secret on the application project's Settings page.
Build amazing apps for Android with Visual Studio. Quickly learn how to build Android apps with Visual Studio. Build rich native apps using C# and Xamarin with 100% of the native APIs exposed to you. Or push maximum performance using C++ with code that could be reused with iOS or Windows.
Figure 12 : You can also open the built-in project in XCode for tweaking settings or debugging build errors at the source. Cordova supports many mobile platforms but the Visual Studio Tools for Apache Cordova supports only Android and Windows Phone in addition to the iOS, as I've shown.
To start the SDK Manager in Visual Studio, click Tools > Android > Android SDK Manager: The Android SDK Manager opens in the Android SDKs and Toolsscreen. This screen has two tabs – Platformsand Tools:
I get to know the answer, please follow the below steps:
Choose Tools menu >Options.
Choose Tools for Apache Cordova >Environment Variable Overrides.
Check the checkbox against ANDROID_HOME and click on Browse(...) button.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With