I try to develop android system, I have some problems about development. I get used to ubuntu18 and tag of android 11 is android-11.0.0_r17, I have built successfully with lunch 30 "aosp_x86-eng" and I have seen $OUT files and checked then I prepared test_aosp.sh file under ~/bin the results are like that and no emulator window appears:
emulator: Android emulator version 220.127.116.11 (build_id 6647651) (CL:N/A)
emulator: Found AVD name 'a25x86'
emulator: Found AVD target architecture: x86
emulator: argv: 'emulator'; program directory: '/home/ubuntu/aosp/prebuilts/android-
emulator/linux-x86_64' PANIC: Cannot find AVD system path. Please define ANDROID_SDK_ROOT