Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Timed out waiting for process to appear on device

Tags:

I am having the following problem when running or debugging apps on a device or emulator with Android Studio. The application is installed but it is not started on the device (or emulator). In the Run window I can see the following:

Launching app on device. Waiting for process to come online...

and after some time I see the following: Timed out waiting for process to appear on 'device'...

I have attached a screenshot that shows the problem.

enter image description here

The problem started recently. I am using the latest version of Android studio (3.5.1) and a Google Pixel device running Android 10 but the problem happens on emulators and other devices running previous versions of Android. The problem also happens on two different computers, with different Android applications and devices - the common factor is Android studio. Finally, the problem seems to have started after I updated Android Studio to 3.5.

Does anyone know how to fix this problem? I have tried many things (clear cache, rebuild, invalidate and restart, etc) without success.

Any ideas?

like image 888
a.p. Avatar asked Oct 05 '19 05:10

a.p.


2 Answers

You mentioned that restarting Android Studio didn't work for you...but it worked for me...

File > Invalidate Caches / Restart... > Just Restart

Android Studio 3.6.2 Build #AI-192.7142.36.36.6308749, built on March 18, 2020 
like image 149
Eric Avatar answered Sep 18 '22 00:09

Eric


There is a bug in the recent Android Studio release. You can revert to previous version or test it from command line.

like image 25
Xi 张熹 Avatar answered Sep 20 '22 00:09

Xi 张熹