E:\All Workspaces\Android Workspace\MOSIP\inji>npx react-native run-android
info JS server already running.
info Launching emulator…
info Successfully launched emulator.
info Installing the app…
Starting a Gradle Daemon, 5 incompatible and 6 stopped Daemons could not be reused, use --status for details
Configure project :app
?? Applying gradle plugin ‘expo-updates-gradle-plugin’ (expo-updates@0.18.17)
Configure project :expo
Using expo modules
- expo-application (5.3.1)
- expo-barcode-scanner (12.3.2)
- expo-camera (13.6.0)
- expo-constants (14.4.2)
- expo-crypto (12.6.0)
- expo-eas-client (0.6.0)
- expo-file-system (15.4.4)
- expo-font (11.1.1)
- expo-image-loader (4.1.1)
- expo-json-utils (0.7.1)
- expo-keep-awake (12.3.0)
- expo-local-authentication (13.3.0)
- expo-localization (14.1.1)
- expo-manifests (0.7.2)
- expo-modules-core (1.5.11)
- expo-modules-core$android-annotation-processor (1.5.11)
- expo-modules-core$android-annotation (1.5.11)
- expo-splash-screen (0.22.0)
- expo-structured-headers (3.3.0)
- expo-updates (0.18.17)
- expo-web-browser (12.5.0)
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.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 Command-Line Interface
10 actionable tasks: 7 executed, 3 up-to-date
FAILURE: Build failed with an exception.
-
What went wrong:
Task ‘installDebug’ not found in project ‘:app’. Some candidates are: ‘installMecDebug’. -
Try:
Run gradlew tasks to get a list of available tasks.
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 15s
error Failed to install the app. Make sure you have the Android development environment set up: Setting up the development environment · React Native.
Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
FAILURE: Build failed with an exception.
-
What went wrong:
Task ‘installDebug’ not found in project ‘:app’. Some candidates are: ‘installMecDebug’. -
Try:
Run gradlew tasks to get a list of available tasks.
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 15s
at makeError (E:\All Workspaces\Android Workspace\MOSIP\inji\node_modules\@react-native-community\cli-platform-android\node_modules\execa\index.js:174:9)
at E:\All Workspaces\Android Workspace\MOSIP\inji\node_modules\@react-native-community\cli-platform-android\node_modules\execa\index.js:278:16
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async runOnAllDevices (E:\All Workspaces\Android Workspace\MOSIP\inji\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\runOnAllDevices.js:82:7)
at async Command.handleAction (E:\All Workspaces\Android Workspace\MOSIP\inji\node_modules\@react-native-community\cli\build\index.js:108:9)
info Run CLI with --verbose flag for more details.