ionic build Android | error: No installed build tools found. Please install the Android build tools

后端 未结 27 3581
被撕碎了的回忆
被撕碎了的回忆 2020-11-28 05:25

When I run ionic build android command in root of ionic project, I am getting this error:

FAILURE: Build failed with an exception.

27条回答
  •  旧时难觅i
    2020-11-28 06:08

    I have tried all the above solution. None works. Until I was linked to https://forum.ionicframework.com/t/ionic-v4-no-installed-build-tools-found/152150.

    Apparently, you must run the command as root. Sudo is not enough. You need to change to root user before you can run all the commands.

提交回复
热议问题