Finalizei o Instalura, e estou tentando criar um outro app. Só que ao realizar os comandos em uma outra pasta qualquer react-native init nomedoprojeto e logo após digitar react-native run-android. Ele me retorna que o as licenças do SDK não foram aceitas, só que se eu iniciar na pasta do instalura ele roda e compila sem problemas. Podem me ajudar?
E:\CryptoCoins>react-native run-android
Scanning folders for symlinks in E:\CryptoCoins\node_modules (36ms)
Starting JS server...
Building and installing the app on the device (cd android && gradlew.bat installDebug)...
Observed package id 'platform-tools' in inconsistent location 'C:\Users\lluca\AppData\Local\Android\Sdk\platform-tools' (Expected 'C:\Users\lluca\AppData\Local\Android\Sdk\platform-tools\platform-tools')
Checking the license for package Android SDK Build-Tools 23.0.1 in C:\Users\lluca\AppData\Local\Android\Sdk\platform-tools\licenses
Warning: License for package Android SDK Build-Tools 23.0.1 not accepted.
Checking the license for package Android SDK Platform 23 in C:\Users\lluca\AppData\Local\Android\Sdk\platform-tools\licenses
Warning: License for package Android SDK Platform 23 not accepted.
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':app'.
> You have not accepted the license agreements of the following SDK components:
[Android SDK Platform 23, Android SDK Build-Tools 23.0.1].
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
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 1.414 secs
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/android-setup.html