Cordova - Android SDK not found

Cause the cordova updated, you may skip this answer and see others.


The reason is not only The recent Android SDK tools removed the android command, but also the file structure of the SDK ,installed by android studio ,has been changed. You can wait for the fix, or do a temporary fix by you self.

1,Delete all contents of ~/Library/Android/sdk

2,Download https://dl.google.com/android/repository/tools_r25.2.3-macosx.zip ,and unzip it to ~/Library/Android/sdk/tools

3,Open sdk manager in command line (~/Library/Android/sdk/tools/android sdk),and install the SDKs.You may need to install 5.5.1(API22) and 6.0(API23)

That's all.


You should update the android platform of your cordova project. Check the blog of cordova official site (HERE!) to learn the last released version of android for cordova. Example: If the last released version of android is 6.2.1, Then you should update the platform to 6.2.1.

On Windows: cordova platform update [email protected] --save


I solved this problem updating cordova:

cordova platform rm android
cordova platform add android@latest

and then:

cordova run android