I'm trying to build my app with ReactNative in Windows.Building it for Android and my CLI works, but when i run, the build is always failing. This is the build output:
Your environment has been set up for using Node.js 6.3.1 (x64) and npm.
Scanning 551 folders for symlinks in C:\react\b\node_modules (18ms)
JS server already running.
Building and installing the app on the device (cd android && gradlew.bat install
Checking the license for package Android SDK Platform 23 in C:\Users\Gail\Ap
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].
Before building your project, you need to accept the license agreements and comp
lete the installation of the missing components using the Android Studio SDK Man
Alternatively, to learn how to transfer the license agreements from one workstat
ion to another, go to http://d.android.com/r/studio-ui/export-licenses.html
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output.
Total time: 14.868 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: