Ionic build error : You have not accepted the license agreements of the following SDK components: [Android SDK Platform 24]

后端 未结 18 1663
挽巷
挽巷 2020-12-08 18:59

I\'m trying to run the command ionic build android --release to build the apk but i am getting this error

Total time: 1.767 secs Error:

18条回答
  •  渐次进展
    2020-12-08 19:32

    My software:

    Ubuntu 16.04.2 LTS
    Gradle 3.5
    java version "1.8.0_131"
    $ANDROID_HOME = ~/AndroidSDK
    

    Working solution:

    yes | $ANDROID_HOME/tools/bin/sdkmanager "build-tools;25.0.2
    

    of course you should use your version of build-tools.

    Source:

    Automatically accept all SDK licences

提交回复
热议问题