ریکت نیتیو

 نرم افزار موبایل
  آخرین بروزرسانی : 4 سال پیش توسط آرمان بابایی
لینک کوتاه برای اشتراک گذاری:
مهدی تهرانی ( 6 تجربه )
4 سال پیش

 1

سلام من وقتی ریکت نیتیو رو میخام رو شبیه ساز بالا بیارم پیغام خطا میده نمیدونم چکار کنم؟؟؟

Checking the license for package Android SDK Build-Tools 28.0.3 in E:\SDK\licens
es
Warning: License for package Android SDK Build-Tools 28.0.3 not accepted.
Checking the license for package Android SDK Platform 28 in E:\SDK\licenses
Warning: License for package Android SDK Platform 28 not accepted.

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':app'.
> Failed to install the following Android SDK packages as some licences have not
 been accepted.
     build-tools;28.0.3 Android SDK Build-Tools 28.0.3
     platforms;android-28 Android SDK Platform 28
  To build this project, accept the SDK license agreements and install the missi
ng components using the Android Studio SDK Manager.
  Alternatively, to transfer the license agreements from one workstation to anot
her, see http://d.android.com/r/studio-ui/export-licenses.html

  Using Android SDK: E:\SDK

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1m 43s

error Failed to install the app. Please accept all necessary Android SDK license
s using Android SDK Manager: "$ANDROID_HOME/tools/bin/sdkmanager --licenses". Ru
n CLI with --verbose flag for more details.
Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8
081

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':app'.
> Failed to install the following Android SDK packages as some licences have not
 been accepted.
     build-tools;28.0.3 Android SDK Build-Tools 28.0.3
     platforms;android-28 Android SDK Platform 28
  To build this project, accept the SDK license agreements and install the missi
ng components using the Android Studio SDK Manager.
  Alternatively, to transfer the license agreements from one workstation to anot
her, see http://d.android.com/r/studio-ui/export-licenses.html

  Using Android SDK: E:\SDK

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1m 43s

    at checkExecSyncError (child_process.js:621:11)
    at execFileSync (child_process.js:639:15)
    at runOnAllDevices (E:\oneproject\node_modules\@react-native-community\cli-p
latform-android\build\commands\runAndroid\runOnAllDevices.js:94:39)
    at buildAndRun (E:\oneproject\node_modules\@react-native-community\cli-platf
orm-android\build\commands\runAndroid\index.js:179:41)
    at E:\oneproject\node_modules\@react-native-community\cli-platform-android\b
uild\commands\runAndroid\index.js:133:12
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at async Command.handleAction (E:\oneproject\node_modules\react-native\node_
modules\@react-native-community\cli\build\index.js:182:9)

آرمان بابایی ( 354 تجربه )
4 سال پیش

احتمالا شما موقع نصب SDK لایسنس رو اکسپت نکردید. دوباره نصب کنید و لایسنس رو اکسپت کنید.
ورژن ری‌اکت نیتیو خودتون رو هم بگید.

2024 © Copyright کليه حقوق مادی و معنوی براي چسبون محفوظ است و هرگونه کپی برداری پیگرد قانونی دارد.