# INJI Mobile before installing app into emulator getting error

**URL:** <https://community.mosip.io/t/inji-mobile-before-installing-app-into-emulator-getting-error/1141>\
**Category:** Support\
**Tags:** android\
**Created:** [March 13, 2024, 7:27am UTC](https://community.mosip.io/t/inji-mobile-before-installing-app-into-emulator-getting-error/1141 "2024-03-13T07:27:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mohdrazacs](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/mohdrazacs/32/1009_2.png) [@mohdrazacs](https://community.mosip.io/u/mohdrazacs)\
**Post date:** [March 13, 2024, 7:27am UTC](https://community.mosip.io/t/inji-mobile-before-installing-app-into-emulator-getting-error/1141/1 "2024-03-13T07:27:23Z")

</div>

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](https://docs.gradle.org/7.5.1/userguide/command_line_interface.html#sec:command_line_warnings)  
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](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](https://reactnative.dev/docs/environment-setup).  
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](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.
