5

I'm learning how to develop watch faces under Android Studio. I have annoying issues with the debugger, which makes it a pain to use.

When I want to run my face in debug mode, I keep having this message:

...
Waiting for application to come online: com.example.wearmodule.test | com.example.wearmodule
Waiting for application to come online: com.example.wearmodule.test | com.example.wearmodule
Waiting for application to come online: com.example.wearmodule.test | com.example.wearmodule
Waiting for application to come online: com.example.wearmodule.test | com.example.wearmodule
Could not connect to remote process. Aborting debug session.

The only option I seem to have is to first execute my face in run mode, and then attach a debugger to the process. However, very often I can't since the 'OK' button is grayed, as the screenshot shows:

enter image description here

When, luckily, I can attach a debugger, it keeps disconnecting after a few seconds/minutes with this message:

Disconnecting run session: a new debug session will be established.

But no other session is established. This makes the process of debugging extremely uncomfortable.

Did I miss something in the configuration of Android Studio?

Edit: It might be worth noting that even when I simply try to run the application, I often get the message Client not ready yet... continuously. In these cases, I have to restart the emulator. This happens every other attempt to run the app, which makes me lose a lot of time.

Pritam
  • 339
  • 3
  • 23
cyphics
  • 412
  • 4
  • 17

0 Answers0