Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Emulator with data crashes on launch Task :app:installDebug FAILED

I created initial project (followed all the steps) by

npx react-native init AwesomeProject

when I run android emulator by:

npx react-native start
npx react-native run-android

I'm getting this error

> Task :app:installDebug FAILED

As I can see, there's no metro connection

When I wipe data or reinstall the emulator, it works fine for the first time, but when I load the app for the second time, I get this error again

Any ideas how to fix? Many thanks!

like image 603
glushkina1 Avatar asked Mar 01 '26 04:03

glushkina1


1 Answers

I tested that version of Android Studio on two more Macbook devices, and all of them had the same issue. Only the new release of Android Studio worked

like image 77
glushkina1 Avatar answered Mar 03 '26 04:03

glushkina1



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!