dependencies:
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 libbz2-1.0:i386
download (put it in the /opt directory)
Launch:
cd /opt/android-studio/bin && ./studio.sh
start Android Studio, and open the menu Tools/Android/SDK Manager (you need to create a dummy project at the wizard to get to the menus)
*alternatively, run ~/Android/Sdk/tools/bin/sdkmanager *
Choose the SDK TOOLS tab
select NDK
also select cmake
and apply.
via ubuntu PPA:
sudo add-apt-repository ppa:webupd8team/java
sudo apt update; sudo apt install oracle-java8-installer
javac -version
sudo apt install oracle-java8-set-default
Getting Started with Qt Creator
setting SDK locations (Qt Creator Options/Devices/Android):
JDK: /usr/lib/jvm/java-8-oracle (Qt Creator seems to find this automatically)
Android SDK: ~/Android/Sdk
Android NDK: ~/Android/Sdk/ndk-bundle
remember to ensure that Virtualisation Technology (VT) is switched-on in BIOS
test with kvm-ok command:
kvm-ok
INFO: /dev/kvm exists
KVM acceleration can be used