I just want to set android emulator without studio-ide and use it like a mobile and tweak it.
I have downloaded command-line tools from https://dl.google.com/android/repository/commandlinetools-linux-6858069_latest.zip
Unzipped in folder $HOME/AndroidSDK
.
I just want to run some emulators.
Then ran below
cd ~/AndroidSDK/cmdline-tools/bin
./sdkmanager --sdk_root=$HOME/AndroidSDK/cmdline-tools --list --include_obsolete --verbose
./sdkmanager --sdk_root=$HOME/AndroidSDK/cmdline-tools --verbose "emulator" "platforms;android-25" "system-images;android-25;default;arm64-v8a" "platform-tools"
./sdkmanager --sdk_root=$HOME/AndroidSDK/cmdline-tools --licenses
./avdmanager -v create avd -n Nougat -k "system-images;android-25;default;arm64-v8a"
I got below error when creating avd.
Error: Package path is not valid. Valid system image paths are:ository...
null
It is related to How create android emulator without android studio?
But I can't find proper solution to my problem.
Where it is going wrong?
Ref:-
- https://stackoverflow.com/a/59907256/11620356
- https://developer.android.com/studio/command-line
- https://dev.to/koscheyscrag/how-to-install-android-emulator-without-installing-android-studio-3lce
- https://stackoverflow.com/a/61176718/11620356
- How do I download the Android SDK without downloading Android Studio?