Open dotChris90 opened 5 months ago
HI @dotChris90, I still not added the support of other tools from android command-line tools, The android sdk manager provide fast access to and sdkmanager tool only.
Probably at current time (until i or somebody added full support of all command line tools) better will be setup environment of avdmanager manually. It is not too hard).
androidsdk --install "cmdline-tools;latest"
androidsdk --install "emulator"
androidsdk --install "platform-tools"
androidsdk --install "system-images;android-33;google_apis;x86_64"
export ANDROID_SDK_ROOT=~/AndroidSDK
export PATH=$PATH:$ANDROID_SDK_ROOT/emulator
export PATH=$PATH:$ANDROID_SDK_ROOT/cmdline-tools/latest/bin
export PATH=$PATH:$ANDROID_SDK_ROOT/platform-tools
avdmanager create avd --name android33 -k "system-images;android-33;google_apis;x86_64"
That all, it should be works fine.
do not forget to install OpenJDK before using cmdline-tools in main system.
i created separately issue #9
I followed the instructions but I still get the same error.
i saw that the androidsdk snap also brings cmdline tools but a command like /snap/androidsdk/current/cmdline-tools/bin/avdmanager create avd --name android33 -k "system-images;android-33;google_apis;x86_64" brings just
Error: Package path is not valid. Valid system image paths are:None
Is this expected?