I am building my app with Capacitor/Angular for Android 15 and debugging with the emulator seems to be a bit broken for me. It seems like after the application is installed the adb returns an error and the debug process just quits. Sometimes after 20 retries I get through and debugging is like you would expect.
The command i run:
“ionic capacitor run android --external --livereload --configuration development”
That results in:
My ADB version
1.0.41
I have tried many things to resolve this:
- Reinstalling android toolkits
- Using other emulators and Android versions
- Reinstalling adb
- Reinstalling Ionic and Capacitor
- Running the default starter app
It is strange because the emulator is just sitting there and launching the app but every time it just quits with the same error. When I run it on my physical development phone it just works. I don’t have access to that phone all the time so i need to use the emulator.
Does anybody have the same problem or maybe a possible solution?