Increase android emulator startup await
This commit is contained in:
+1
-1
@@ -157,7 +157,7 @@ public class Emulator {
|
|||||||
bootCheckCommand.addParameter("sys.boot_completed");
|
bootCheckCommand.addParameter("sys.boot_completed");
|
||||||
int counter = 0;
|
int counter = 0;
|
||||||
RunResult execute = RunUtils.execute(bootCheckCommand);
|
RunResult execute = RunUtils.execute(bootCheckCommand);
|
||||||
while (counter < 12) {
|
while (counter < 20) {
|
||||||
String output = execute.getOutput();
|
String output = execute.getOutput();
|
||||||
if (output.trim().endsWith("1")) {
|
if (output.trim().endsWith("1")) {
|
||||||
System.out.println("Emulator fully booted!");
|
System.out.println("Emulator fully booted!");
|
||||||
|
|||||||
Reference in New Issue
Block a user