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

后端 未结 8 660
太阳男子
太阳男子 2020-12-01 05:00

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         


        
8条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-01 05:52

    For me this work , first check your cordova android version

    cordova platform version android
    

    it shows 5.0 to me and after that upgrade the version by this command

    cordova platform update android
    

提交回复
热议问题