Package native binary Android Build Error


#1

Hi Team,

I am trying to package my ionic3 app from Ionic Pro(https://dashboard.ionicjs.com) for android. I am getting error as below in console.

* BUILD FAILED

Total time: 25.445 secs
Error: /usr/src/app/platforms/android/gradlew: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.


What went wrong:
A problem occurred configuring root project 'android'.
> You have not accepted the license agreements of the following SDK components:
  [Android SDK Platform 26].
  Before building your project, you need to accept the license agreements and complete the installation of the missing components using the Android Studio SDK Manager.
  Alternatively, to learn how to transfer the license agreements from one workstation to another, go to http://d.android.com/r/studio-ui/export-licenses.html

Could you please help out to solve this issue?


#2

Same problem here.

config.xml
<engine name="android" spec="6.3.0" />

package.json
"cordova-android": "6.3.0"

Any help is appreciated.

Markus