I am having problem to build android with Cordova, when I execute cordova build android, I receive this error:
Error: Android SDK not found. Ma
In My Case, This is a Scenario
1.I have an SDK platforms tools Version 23
2.I have added the Android Platform to My Cordova Project
3.It works fines Until I update the SDK to 26
4.After Updating the SDK it Throws the same Error
Cordova: 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 just Resolved this by removing and Adding the Android platforms in my Project
cordova platform remove android
cordova platform add android
Now it works fine :)