IONIC 3 - Unable to build release android apk

Ionic info

enter image description here

Cordova requirements

enter image description here

ionic cordova build android --release

enter image description here

1 answer

  • answered 2018-07-12 06:38 jeff chef

    It seems like you have not accepted the license agreement of the SDK component Android SDK Platform 26.

    You can do so by navigating to your android sdkmanager on your command prompt and running

    sdkmanager --licenses

    there after they will tell you that you have license agreements that you have yet to accept and you just need to accept it all.

    For reference my android sdkmanager is located in

    C:\Program Files\Android\android-sdk\tools\bin