Код: Выделить всё
* Where:
Build file 'C:\Users\me\...\android\build.gradle' line: 38
* What went wrong:
A problem occurred evaluating root project 'AppName'.
> Failed to apply plugin 'com.facebook.react.rootproject'.
> A problem occurred configuring project ':app'.
> com.android.builder.sdk.LicenceNotAcceptedException: Failed to install the following Android SDK packages as some licences have not been accepted.
ndk;26.1.10909125 NDK (Side by side) 26.1.10909125
To build this project, accept the SDK license agreements and install the missing components using the Android Studio SDK Manager.
All licenses can be accepted using the sdkmanager command line tool:
sdkmanager --licenses
Or, to transfer the license agreements from one workstation to another, see https://developer.android.com/studio/intro/update.html#download-with-gradle
< /code>
Но затем, когда я попробую команду, чтобы принять лицензии, я получаю этот ответ: < /p>
cmd /c "C:\Users\me\AppData\Local\Android\Sdk\cmdline-tools\latest\bin\sdkmanager.bat --licenses"
[=======================================] 100% Computing updates...
All SDK package licenses accepted.
Подробнее здесь: https://stackoverflow.com/questions/796 ... -wont-show