weradeli.blogg.se

Install android studio on ubuntu 20.04
Install android studio on ubuntu 20.04











You can find out the SDK location from Android Studio > Tools > SDK Manager > Android SDK Location echo "Įxport ANDROID_HOME="/media/aamnah/Files/Dev/Android"Įxport PATH=$PATH:$ANDROID_HOME/tools/binĮxport PATH=$PATH:$ANDROID_HOME/platform-tools

install android studio on ubuntu 20.04

I installed it in a custom location, so i provided that. The default install location for Android when installed using snap is ?. USB: adb -s 054783604A010925 reverse tcp:8081 tcp:8081Īndroid Studio sudo snap install android-studio -classic We're set at this point Setup physical device for live reloads Now if you run adb devices, you should see device instead of unauthorized List of devices attached Also check that box that says Always allow from this computer if you don't wanna do this every time. The next time you connect, it'll show you a Allow USB debugging popup. To fix that unauthorized, disconnect and reconnect your phone at this point. Infinix HOT 9Įcho 'SUBSYSTEM="usb", ATTR="0e8d", MODE="0666", GROUP="plugdev"' | sudo tee /etc/udev/rules.d/lesĪt this point, if you run adb devices, you'll get List of devices attached Some cables only support charging and not data transfer # lsusbīus 002 Device 004: ID 0e8d:201d MediaTek Inc. If your phone is not being detected, try using a different USB cable. Now, install Watchman with Homebrew # install latest build from Github Will take some time installing core taps, around ~322mb in downloads. Homebrew now works on Linux! # install Homebrew Sudo apt install -y openjdk-8-jdk-headless openjdk-8-jre Java Development Kit (JDK) # install JDK version 8

install android studio on ubuntu 20.04

Restart the Terminal now so that the nvm command is available # install latest Node LTS with nvm Node # install nvm (Node Version Manager) Installing the SDK is the one step that you have got to do from inside Android Studio. Most of it can be done via the Terminal and can be scripted.

install android studio on ubuntu 20.04

The entire process above gets fairly simple once you have done it at least twice. Configure Android environment variables.













Install android studio on ubuntu 20.04