HMS Cloud Debugging not recognised as device in Android Studio

Viewed 422

I'm trying to run HMS Cloud Debugging in Android Studio, but there's a problem: when the emulator is launched, the device does not appear as a running device (see img below).

no devices img

There is an error log that is for sure related to the issue, but I can't seem to understand it, given that adb is properly installed (platform-tools)

The log, while starting Mate 30 device: enter image description here

which indicated that there's something wrong with adb.

When I run which adb, the output is:

/Users//Library/Android/sdk/platform-tools/adb

so the PATH is set.

So, what is causing this? Thanks in advance

2 Answers

You are advised to check whether the ADB service fails to be started in the following event logs.

enter image description here

enter image description here

If yes, the port is occupied.Kill the process that occupies the port and restart the Android Studio may help you with your issue.

It seems the adb environment is not setup correctly. Please confirm adb could be used in Android Studio Terminal environment. Once that is running, the device selection should show up.

Following link has details about checking and setting adb environment for Android Studio: Error:Unable to locate adb within SDK in Android Studio

Related