PerfTaskGeneratorPlugin expects 6 parts to output, only receiving 5 (Windows)
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.
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.
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.