简体   繁体   中英

Build error for cordova Visual Studio 2015 update 2

Error Message Android SDK not found. Make sure that it is installed. If it is not at the default location, set the ANDROID_HOME environment variable.

I checked environment variables, it does have ANDROID_HOME and the same has been mentioned in Path variable value.

I am not sure why still I am getting this error. Any help?

Thank you.

I was able to fix this by updating Android SDK (It was install and working, but I guess, Visual Studio needs few more updates).

After updating, please check followings in Tools ---> Options: 1. Android SDK path is correct in Xamarin tools. 2. Cross platforms 3. Cordova tools, environment variable section.

PS : I don't understand why Visual Studio is using these three separate options, and complexly ignores the Environment variable set at system level.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM