Академический Документы
Профессиональный Документы
Культура Документы
https://developer.android.com/studio/index.html
I am doing all this in a folder named ~/pkgs
move to the location where it is downloaded.
mv android-studio-ide-162.4069837-linux.zip ~/pkgs
cd ~/pkgs
unzip android-studio-ide-162.4069837-linux.zip
~/pkgs/android-studio/bin/studio.sh
It is assumed here, that you are behind the proxy as it is with my case.
Choose the options that best suits and enter your proxy details.
You can skip proxy stuff accordingly if you are not behind a proxy.
After all the packages are installed, enter finish.
There will be Configure gear icon at the lower right corner.
Go to SDK Manager.
Install all required versions of andorid(I installed 8.0,7.1.1,6.0,5.1,5.0 etc) under SDK Platforms.
Install all Google Play services etc under SDK tools.
Press Apply.
touch ~/.android/repositories.cfg
cd ~/Android/Sdk/tools/bin
./sdkmanager --verbose --proxy=http --proxy_host=your.proxy --proxy_port=your.port list
To delete an AVD
./avdmanager delete avd -n nexus6p
./emulator -avd nexus6p -http-proxy http://your.proxy:your.port -gpu off -qemu -m 2047 -enable-kvm
In my case, disabling gpu is necessary to avoid frequent crashes
------------------------------------------------------------------------
Reference links
https://guides.codepath.com/android/Installing-Android-SDK-Tools
https://stackoverflow.com/questions/4974568/how-do-i-launch-the-android-emulator-from-the-
command-line
https://stackoverflow.com/questions/27136585/how-enable-physical-keyboard-on-emulator-in-android-
studio-used-to-work#
http://linuxoidchannel.blogspot.in/2017/01/how-to-install-google-play-store-on.html