android-perf-testing icon indicating copy to clipboard operation
android-perf-testing copied to clipboard

PerfTaskGeneratorPlugin expects 6 parts to output, only receiving 5 (Windows)

Open ivanarellano opened this issue 9 years ago • 2 comments

Error:(50, 0) There should always be 6 parts to the output, double check something isn't wrong: ZH80071CYG             device product:D2303 model:D2303 device:D2303 parsed to [ZH80071CYG, device, product:D2303, model:D2303, device:D2303]

Tested on Windows 10, 23.1 platform-tools, 24.4.1 Android tools, and Sony Xperia M2 and Nexus 6 phones.

ivanarellano avatar Jan 27 '16 22:01 ivanarellano

Ran into the same issue with a Nexus 5. I just simply commented out the condition in PerfTestTaskGeneratorPluginthat throws this exception since we are anyways using only the first sub-string for generating the device-specific Gradle tasks.

mustafa01ali avatar Jul 16 '16 07:07 mustafa01ali

I also can confirm the issue, and at this point of the crash, ( PerfTestTaskGeneratorPlugin line 118) checking if the output of adb devices -l contains 6 parts, I don't know why does it matter at all.

What I've done is remove the entire if block leaving only the devices.add(lineParts[0]) to it.

chronvas avatar May 25 '18 14:05 chronvas