FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
DockerContainers/install-avd.sh at main · KhronosGroup/DockerContainers · GitHub
KhronosGroup
/
DockerContainers
Public
Notifications
You must be signed in to change notification settings
Fork
14
Star
12
Code
Issues
2
Pull requests
2
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
DockerContainers
/
install-avd.sh
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
23 lines (18 loc) · 803 Bytes
Breadcrumbs
DockerContainers
/
install-avd.sh
Copy path
File metadata and controls
executable file
·
23 lines (18 loc) · 803 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!
/usr/bin/env bash
#
Copyright 2022-2025, Collabora, Ltd. and the Monado contributors
#
#
SPDX-License-Identifier: BSL-1.0
set
-eo pipefail
#
Default fallback values, should match install-android-sdk.sh
ANDROID_COMPILE_SDK=
${ANDROID_COMPILE_SDK
:-
34}
ANDROID_SDK_ROOT=
${ANDROID_SDK_ROOT
:-/
opt
/
android-sdk}
ANDROID_ARCH=
${ANDROID_ARCH
:-
x86_64}
SDKMANAGER=
$ANDROID_SDK_ROOT
/cmdline-tools/latest/bin/sdkmanager
AVDMANAGER=
$ANDROID_SDK_ROOT
/cmdline-tools/latest/bin/avdmanager
AVD_PACKAGE=
"
system-images;android-
${ANDROID_COMPILE_SDK}
;aosp_atd;
${ANDROID_ARCH}
"
AVD_NAME=openxr-pixel5
echo
"
Installing AVD simulator
"
echo
y
|
$SDKMANAGER
"
$AVD_PACKAGE
"
>>
/dev/null
echo
"
Configuring device
"
$AVDMANAGER
--verbose create avd --name
$AVD_NAME
--device pixel_5 --package
$AVD_PACKAGE
$AVDMANAGER
list avd
Back
|
FazBrowse Home
|
New Git URL