PS C:\Users\krish\Desktop\dribble2ReactNative\plantApp> react-native run-android
info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag.
(node:2732) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use node --trace-warnings ... to show where the warning was created)
Jetifier found 1082 file(s) to forward-jetify. Using 8 workers...
info Starting JS server...
info Launching emulator...
info Successfully launched emulator.
info Installing the app...
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.
What went wrong:
A problem occurred evaluating project ':app'.
Failed to apply plugin 'com.android.application'.
Could not create an instance of type com.android.build.gradle.internal.dsl.BaseAppModuleExtension.
Could not create an instance of type com.android.build.gradle.internal.dsl.TestOptions.
Could not create an instance of type com.android.build.gradle.internal.dsl.TestOptions$UnitTestOptions.
'void org.gradle.api.internal.DefaultDomainObjectSet.(java.lang.Class)'
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.
What went wrong:
A problem occurred evaluating project ':app'.
Failed to apply plugin 'com.android.application'.
Could not create an instance of type com.android.build.gradle.internal.dsl.BaseAppModuleExtension.
Could not create an instance of type com.android.build.gradle.internal.dsl.TestOptions.
Could not create an instance of type com.android.build.gradle.internal.dsl.TestOptions$UnitTestOptions.
'void org.gradle.api.internal.DefaultDomainObjectSet.(java.lang.Class)'
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.
at makeError (C:\Users\krish\Desktop\dribble2ReactNative\plantApp\node_modules\execa\index.js:174:9)
at C:\Users\krish\Desktop\dribble2ReactNative\plantApp\node_modules\execa\index.js:278:16
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async runOnAllDevices (C:\Users\krish\Desktop\dribble2ReactNative\plantApp\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\runOnAllDevices.js:94:5)
at async Command.handleAction (C:\Users\krish\Desktop\dribble2ReactNative\plantApp\node_modules\react-native\node_modules\@react-native-community\cli\build\index.js:186:9)
PS C:\Users\krish\Desktop\dribble2ReactNative\plantApp> react-native run-android info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag. (node:2732) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency (Use
node --trace-warnings ...
to show where the warning was created) Jetifier found 1082 file(s) to forward-jetify. Using 8 workers... info Starting JS server... info Launching emulator... info Successfully launched emulator. info Installing the app...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.
See https://docs.gradle.org/8.1.1/userguide/command_line_interface.html#sec:command_line_warnings
FAILURE: Build failed with an exception.
Where: Build file 'C:\Users\krish\Desktop\dribble2ReactNative\plantApp\android\app\build.gradle' line: 1
What went wrong: A problem occurred evaluating project ':app'.
Try:
Get more help at https://help.gradle.org
BUILD FAILED in 2s
error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/getting-started.html#android-development-environment. Run CLI with --verbose flag for more details. Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
FAILURE: Build failed with an exception.
Where: Build file 'C:\Users\krish\Desktop\dribble2ReactNative\plantApp\android\app\build.gradle' line: 1
What went wrong: A problem occurred evaluating project ':app'.
Try:
Get more help at https://help.gradle.org
BUILD FAILED in 2s
PS C:\Users\krish\Desktop\dribble2ReactNative\plantApp>