Why Cordova can't find Android SDK after I remove and add another version of Android platform.

24 views
Skip to first unread message

Victor F

unread,
Nov 4, 2017, 1:12:59 PM11/4/17
to phonegap
I created project and had it run on emulator.
Then I did this:
cordova platform rm android
cordova platform add android@5.0

And next time I tried to launch project on emulator it shows:
Error: Android SDK not found. Make sure that it is installed. If it is not at the default location, set the ANDROID_HOME environment variable.

Checked variable - it's fine.

Victor F

unread,
Nov 4, 2017, 1:24:13 PM11/4/17
to phonegap
Also I added camera plugin to the project (before I tried to change android version).
Reply all
Reply to author
Forward
0 new messages