Skip to content Skip to sidebar Skip to footer

Install Android Emulator Without Installing Android Studio

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/com

Solution 1:

I am answering my own question.

Where I made wrong is, decompressing to wrong directory and using wrong --sdk_root. As said in here, I have to create a dir called cmdline-tools and decompress in it. Now we will have another cmdline-tools dir. We have to rename it to the respective commandline tool version we are using. In my case it is 3.0.

Finally my script should be look like below.

mkdir -p ~/AndroidSDK/cmdline-tools
cd ~/AndroidSDK/cmdline-tools
wget https://dl.google.com/android/repository/commandlinetools-linux-6858069_latest.zip -o tools.zip
unzip -q tools.zip
mv cmdline-tools 3.0
cd 3.0/bin
./sdkmanager --list --include_obsolete --verbose
./sdkmanager --verbose "emulator" "system-images;android-25;default;x86_64" "platforms;android-25" "platform-tools"
./sdkmanager --licenses
./avdmanager -v create avd -n Nougat -k "system-images;android-25;default;x86_64"
../../../emulator/emulator -avd Nougat

See https://github.com/HemanthJabalpuri/AndroidEmulator_without_Studio for more info.


Post a Comment for "Install Android Emulator Without Installing Android Studio"