Build Failing For Android Target On Tools For Apache Cordova - Visual Studio Professional 2015
There is a cordova project developed using Visual Studio - Tools for Apache Cordova (TACo). While building the project for iOS target, we are able to get the build and debug succe
Solution 1:
The issue was related to Environment Variable only. I used to add semicolon at the end of all the file locations, but for JAVA_HOME, if we add semicolon it is not working with VS TACo.
Hence, i removed the semicolon from the end, and now the JAVA_HOME looks like this:
JAVA_HOME = C:\Program Files (x86)\Java\jdk1.8.0_60
App is now working with Android simulator as well.
Solution 2:
The recent Android SDK tools removed the android
command.
This issue is resolved recently in Cordova. Check out this link for more info on this
You can also downgrade your tools to a version where the android
was still available.
Hope it helps
Post a Comment for "Build Failing For Android Target On Tools For Apache Cordova - Visual Studio Professional 2015"