Officially support API 34

This commit is contained in:
topjohnwu 2023-08-11 09:46:45 -07:00
parent 93876b5fd3
commit f86c66c99d
3 changed files with 5 additions and 5 deletions

View File

@ -2,7 +2,7 @@
# AVD Magisk Setup # AVD Magisk Setup
##################################################################### #####################################################################
# #
# Support API level: 23 - 33 # Support API level: 23 - 34
# #
# With an emulator booted and accessible via ADB, usage: # With an emulator booted and accessible via ADB, usage:
# ./build.py emulator # ./build.py emulator

View File

@ -2,7 +2,7 @@
# AVD MagiskInit Setup # AVD MagiskInit Setup
##################################################################### #####################################################################
# #
# Support API level: 23 - 33 # Support API level: 23 - 34
# #
# With an emulator booted and accessible via ADB, usage: # With an emulator booted and accessible via ADB, usage:
# ./build.py avd_patch path/to/booted/avd-image/ramdisk.img # ./build.py avd_patch path/to/booted/avd-image/ramdisk.img
@ -18,7 +18,7 @@
# rootfs w/o early mount: API 23 - 25 # rootfs w/o early mount: API 23 - 25
# rootfs with early mount: API 26 - 27 # rootfs with early mount: API 26 - 27
# Legacy system-as-root: API 28 # Legacy system-as-root: API 28
# 2 stage init: API 29 - 33 # 2 stage init: API 29 - 34
##################################################################### #####################################################################
if [ ! -f /system/build.prop ]; then if [ ! -f /system/build.prop ]; then

View File

@ -20,7 +20,7 @@ type='google_apis'
api_list='23 26 28 29 34' api_list='23 26 28 29 34'
cleanup() { cleanup() {
echo -e '\n\033[41;30m! An error occurred\033[0m\n' echo -e '\n\033[41;39m! An error occurred\033[0m\n'
for api in $api_list; do for api in $api_list; do
set_api_env $api set_api_env $api
@ -65,7 +65,7 @@ run_test() {
set_api_env $api set_api_env $api
# Setup emulator # Setup emulator
echo -e "\n\033[44;30m* Testing $pkg\033[0m\n" echo -e "\n\033[44;39m* Testing $pkg\033[0m\n"
"$sdk" $pkg "$sdk" $pkg
echo no | "$avd" create avd -f -n test -k $pkg echo no | "$avd" create avd -f -n test -k $pkg