To download and install the Android SDK and necessary support. I am however being able to cd into platform-tools, and run adb and other tools from there, but I don't want to do that again and again. For this task, you want to install the Android stand-alone SDK tools and not Android Studio. Instead it tells me to install android-tools-adb. This emulator is a QEMU-based device-emulation tool that allows you to debug and test your apps in an actual Android runtime environment even without using any. When I give the command adb from a terminal, it dosen't seem to invoke the adb tools from the platform-tools folder. To add them to environment path, I did this: nano ~/.bashrcĪnd added the following lines- export PATH=$:/root/Android/Sdk/build-toolsīut this dosen't work. In the installation wizard make sure you have the following components selected (the list should appear if you select. If you dont see this, or it says offline instead of devices, wait 60 seconds and attempt sudo adb devices again.
But I want command line access to the tools and so I want to add them to the environment path. This downloaded Android Studio at /root/tools/android/android-studio,Īnd platform-tools and all other tools at /root/Android/Sdk/.Īndroid Studio on my PC is working just fine, and I am able to create an application and also run it on my mobile phone using it.
I am using Ubuntu 14.04 Trusty Tahr, and I downloaded Android Studio with the umake tool provided by Ubuntu.