Skip to content

Commit

Permalink
fixed #204 Missing emulator engine program for 'x86' CPU
Browse files Browse the repository at this point in the history
  • Loading branch information
arsi-apli committed Apr 29, 2019
1 parent 8813f22 commit 312ad1e
Showing 1 changed file with 7 additions and 0 deletions.
Expand Up @@ -158,7 +158,14 @@ public IDevice call() throws Exception {
}

private String getEmulatorBinaryPath() {
//fix #204 Since March 2017 (v25.3.0), the Android Emulator changed location from${ANDROID_SDK_ROOT}/tools/ to its own top-level directory, ${ANDROID_SDK_ROOT}/emulator/
String newEmulatorPath = sdk.getSdkPath() + File.separator
+ SdkConstants.FD_EMULATOR + File.separator+ SdkConstants.FN_EMULATOR;
if(new File(newEmulatorPath).exists()){
return newEmulatorPath;
}
return sdk.getSdkPath() + File.separator
+ SdkConstants.OS_SDK_TOOLS_FOLDER + SdkConstants.FN_EMULATOR;

}
}

0 comments on commit 312ad1e

Please sign in to comment.