Phonegap/Cordova build android node_modules/q/q.js throw e;

前端 未结 8 2059
长情又很酷
长情又很酷 2020-12-09 08:50

cordova build android gives me the following err

node_modules/q/q.js:126 throw e; (*error details)

This question has been asked before, but

8条回答
  •  有刺的猬
    2020-12-09 09:35

    I noticed that your ANDROID_HOME variable might be incorrectly setup - as far as I can tell, it should be set to the root of your SDK folder (what you have ANDROID_SDK set to), try that (and make sure that you still have both $ANDROID_HOME/tools and $ANDROID_HOME/platform-tools on your path).

提交回复
热议问题