Replace usages of deprecated ANDROID_HOME with ANDROID_ROOT_SDK.

Bump build tools to 30.0.3.
Update test-fixture dependencies.
This commit is contained in:
Yang
2020-12-24 21:56:02 +11:00
parent 877a4c47c3
commit d4b3926c7d
8 changed files with 28 additions and 40 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ export async function launchEmulator(apiLevel: number, target: string, arch: str
emulatorOptions += ' -accel off';
}
await exec.exec(`sh -c \\"${process.env.ANDROID_HOME}/emulator/emulator -avd "${avdName}" ${emulatorOptions} &"`, [], {
await exec.exec(`sh -c \\"${process.env.ANDROID_SDK_ROOT}/emulator/emulator -avd "${avdName}" ${emulatorOptions} &"`, [], {
listeners: {
stderr: (data: Buffer) => {
if (data.toString().includes('invalid command-line parameter')) {