[Error: Failed to find 'ANDROID_HOME' environment variable. Try setting setting it manually

前端 未结 2 728
栀梦
栀梦 2021-02-19 18:46

Im using Cordova in Linux mint 17

I installed android sdk , cordova , android studio , nodejs 4

problem is here when i wanna build app in codova and run this o

2条回答
  •  傲寒
    傲寒 (楼主)
    2021-02-19 19:14

    You should edit /etc/sudoers with

    sudo visudo
    

    At the end of the file enter:

    Defaults    env_keep +="ANDROID_HOME"
    

提交回复
热议问题