admin管理员组

文章数量:1401668

Facing react native project first run issue, emulator is available and detected as well a physical device to.

To verify the required configuration things re-validate with react-native doctor npx react-native doctor Common ✓ Node.js - Required to execute JavaScript code ✓ npm - Required to install NPM dependencies ✓ Metro - Required for bundling the JavaScript code

Android
 ✓ Adb - Required to verify if the android device is attached correctly
 ✓ JDK - Required to compile Java code
 ✓ Android Studio - Required for building and installing your app on Android
 ✓ ANDROID_HOME - Environment variable that points to your Android SDK installation
 ✓ Gradlew - Build tool required for Android builds
 ✓ Android SDK - Required for building and installing your app on Android

Errors:   0
Warnings: 0

Every thing is perfect and okay, although rechecked. But on running the project

Creating raw react-native project with

npx @react-native-community/cli init myapp

but after moving into project and starting it getting this error. this is the react-native default files and configurations

things work with expo but don't with cli

cd myapp
npx react-native run-android
info Installing the app...

[Incubating] Problems report is available at: file:///C:/Projects/ConWay/practiceRound/round1/CONWAY/android/build/reports/problems/problems-report.html

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to .12/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
10 actionable tasks: 10 up-to-date

info 

本文标签: reactnative project basic project setup issueStack Overflow