Ionic Android build: java.lang.IllegalStateException: buildToolsVersion is not specified

后端 未结 4 1561
醉酒成梦
醉酒成梦 2021-02-19 02:23

Since today, somehow my ionic project is not longer able to build for some reason. I already tried to remove the platform and add it again, but it didn\'t work. I now almost spe

4条回答
  •  离开以前
    2021-02-19 03:06

    I was facing this issue. The problem was that my ANDROID_HOME path was pointing to Android Studio's folder. I changed it to point to my Android SDK Folder and problem was solved.

    1. Check your ANDROID_HOME:

    echo $ANDROID_HOME

    1. It should point to the Android SDK Folder:

    export ANDROID_HOME="your-android-sdk-folder"

提交回复
热议问题