آموزش جاوااسکریپت انجمن ها react native خطا در راه اندازی پروژه redux در react پاسخ به: خطا در راه اندازی پروژه redux در react

#16361
gkasravi
مشارکت کننده

node و sdk رو پاک کردم و دوباره install .موقع ساخت پروزه جدید این error ها رو میده …و حالا error تغییر کرده و تبدیل شده به این

Scanning folders for symlinks in C:\Project\reduxIII\node_modules (69ms)
Starting JS server…
Building and installing the app on the device (cd android && gradlew.bat installDebug)…
Observed package id ‘build-tools;26.0.0-rc2’ in inconsistent location ‘C:\Sdk\build-tools\26.0.0-preview’ (Expected ‘C:\Sdk\build-tools\26.0.0-rc2’)
Checking the license for package Android SDK Build-Tools 26.0.3 in C:\Sdk\licenses
Warning: License for package Android SDK Build-Tools 26.0.3 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 Build-Tools 26.0.3].
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: 15.21 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/getting-started.html

ممنون از وقتی که می زارید