
I think the problem is from here.
if (result.toString().contains("error: no devices found")) { Logger.error("No devices found. Do you have any connected?"); done = true; }
I found the result is always "error: no devices/emulators found" when debug it. The string doesn't contain "error: devices found", so the boolean value "done" is always false. The outer cycle will never break.
Sorry for my poor English, I hope you can understand.
I think the problem is from here.
if (result.toString().contains("error: no devices found")) { Logger.error("No devices found. Do you have any connected?"); done = true; }I found the result is always "error: no devices/emulators found" when debug it. The string doesn't contain "error: devices found", so the boolean value "done" is always false. The outer cycle will never break.
Sorry for my poor English, I hope you can understand.