Error Message
FAILURE: Build failed with an exception.
* What went wrong: Execution failed for task app installdebug
Execution failed for task ‘:app:installDebug’.
> com.android.builder.testing.api.DeviceException: No connected devices!
* 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 3m 49s
error Failed to install the app. Make sure you have an Android emulator running or a device connected. Run CLI with --verbose flag for more details.
Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
What task app installdebug failed?
The task app installdebug failed happen in when it cant install the build apk on your device. This might be due to because your device is not connected or emulator is not running. Somehow the point is that apk was built successflly but it cant install the app. It might be because you have a higher version of same apk already installed on the device or emulator!
Possible solution for this problem
- Ensure that device is connected successfuly to PC
- Check if emulator is running.
- Check if USB Debugging is enabled
- Check for loose connection
- If you have already installed application, please uninstall application and try
The best solution for Execution failed for task app installdebug
The best solution is for you to install the emulator. Download genymotion or any other emulator. Once the emulator is opened you can start the build process of application. This way application will auto start on the emulator. You can always use the built in emulator in the android studio also. While choosing emulator type, ensure to chose a emulator that have playstore installed. Mostly pixel devices will have google playstore pre-installed.
While you are also do check out Execution failed for task ‘:app:mergeDexDebug’ | execution failed for task appmergedexdebug.
Also check How to upgrade to windows 11 without loosing any data


this problem is due to not find out the path of android…i have solved this problem…
following this step…
1. open your project
2. go android folder.
3. then run your project on android studio….
None of you have solved this problem!