Android SDK Platform 26 license error in Ionic 3

后端 未结 10 2139
粉色の甜心
粉色の甜心 2021-01-14 13:29

I\'m trying to run my Ionic 3 project on my Android device with ionic cordova run android --device --stacktrace, but, I\'ve the following output:

10条回答
  •  长情又很酷
    2021-01-14 13:55

    Solved! Reading the information on the page http://tools.android.com/tech-docs/new-build-system/license:

    ...

    If you have accepted the license agreements on one workstation, but wish to build your projects on a different one, you can export your licenses by copying the accepted licenses folder from the Android Sdk Home folder

    ...

    So I just went to C:\Android\sdk and copied the licenses folder to the C:\Android\android-sdk folder which was where Ionic was searching for the licenses.

    Thanks to all who have somehow tried to help.

提交回复
热议问题