gapid icon indicating copy to clipboard operation
gapid copied to clipboard

Can't find any connected devices on OSX

Open andreyberestovskyi opened this issue 6 years ago • 7 comments

GAPID doesn't see any connected devices throw USB

Developer mode enabled ADB installed and "adb devices" reports me connected device

andreyberestovskyi avatar Nov 07 '19 17:11 andreyberestovskyi

Does the gapit devices command show the device?

Would also be useful to have the logcat from the device captured while GAPID is trying to discover it.

chrisforbes avatar Nov 18 '19 23:11 chrisforbes

I have the same issue. Pixel 3 and Pixel 3a. GAPIT trace... returns "Error Internal error: Tracing Failed Cause: Cannot take the requested type of trace on this device"

Here is the logcat while attempting to trace from GAPIT.

11-19 13:05:28.705 5240 10339 I Adreno : QUALCOMM build : 4a00b69, I4e7e888065 11-19 13:05:28.705 5240 10339 I Adreno : Build Date : 04/09/19 11-19 13:05:28.705 5240 10339 I Adreno : OpenGL ES Shader Compiler Version: EV031.26.06.00 11-19 13:05:28.705 5240 10339 I Adreno : Local Branch : mybranche95a5ea3-cf05-f19a-a0e7-5cb90179c3d8 11-19 13:05:28.705 5240 10339 I Adreno : Remote Branch : quic/gfx-adreno.lnx.1.0 11-19 13:05:28.705 5240 10339 I Adreno : Remote Branch : NONE 11-19 13:05:28.705 5240 10339 I Adreno : Reconstruct Branch : NOTHING 11-19 13:05:28.705 5240 10339 I Adreno : Build Config : S P 8.0.6 AArch64 11-19 13:05:28.715 5240 10339 I Adreno : PFP: 0x016ee183, ME: 0x00000000 11-19 13:05:28.735 5240 10339 I Adreno : QUALCOMM build : 4a00b69, I4e7e888065 11-19 13:05:28.735 5240 10339 I Adreno : Build Date : 04/09/19 11-19 13:05:28.735 5240 10339 I Adreno : Shader Compiler Version : EV031.26.06.00 11-19 13:05:28.735 5240 10339 I Adreno : Local Branch : mybranche95a5ea3-cf05-f19a-a0e7-5cb90179c3d8 11-19 13:05:28.735 5240 10339 I Adreno : Remote Branch : quic/gfx-adreno.lnx.1.0 11-19 13:05:28.735 5240 10339 I Adreno : Remote Branch : NONE 11-19 13:05:28.735 5240 10339 I Adreno : Reconstruct Branch : NOTHING 11-19 13:05:28.735 5240 10339 I Adreno : Build Config : S P 8.0.6 AArch64 11-19 13:05:28.736 5240 10339 W GAPID : Unrecognised ABI: armeabi 11-19 13:05:28.736 5240 10339 I chatty : uid=10219(com.google.android.gapid.arm64v8a) identical 5 lines 11-19 13:05:28.736 5240 10339 W GAPID : Unrecognised ABI: armeabi

birdimus avatar Nov 19 '19 18:11 birdimus

11-19 13:05:28.736 5240 10339 W GAPID : Unrecognised ABI: armeabi That looks suspect. Is your app compiled as armeabi (instead of armeabi-v7a? )

I thought that still worked, but it's possible that is an issue. Alternatively, could you try and uninstall both the gapid.arm64v8a and gapid.armeabiv7a apks from your device and then retry?

AWoloszyn avatar Nov 19 '19 20:11 AWoloszyn

uninstalled com.google.android.gapid.arm64v8a - which is the only one installed. Still failed.

birdimus avatar Nov 20 '19 18:11 birdimus

Can you try the latest dev-release build, and tell us if you still have the issue? https://github.com/google/gapid-dev-releases/releases/latest

hevrard avatar Nov 20 '19 22:11 hevrard

I've specified the full android name + activity instead of the local apk filename and I'm able to get something like a trace.

birdimus avatar Nov 21 '19 17:11 birdimus

Literally neither the "device" nor "type" dropdowns respond in the UI in the latest. I can trace sometimes using command line, although I only need a single snapsnot, and the full traces are fairly unstable as well.

birdimus avatar Dec 23 '19 18:12 birdimus