You can run your emulator with full hardware virtualization support now by simply using -accel on. Update: The command above has been deprecated. pathTo/emulator -avd avd_name -qemu -m 1024 -enable-kvm In order for the emulator to actually use KVM, you must start it using these emulator parameters: You will need to install all the necessary libraries and images using the android SDK and create the AVD's you'll be using of course but I think you must know that already since you are a developer. zip file in a folder of your choice and create a launcher for the studio.sh file you will find in the android-studio/bin folder and if everything else is ok, it should run fine. NOTE: The file lib32bz2-1.0 does not exist on 16.04, so you have to install libbz2-1.0:i386 instead, using sudo apt-get install libbz2-1.0:i386.Įxtract the contents of the. zip file from the Android Developer's site and make sure you install the 32-bit support files listed over there. In the beginning, you will find instructions on how to check if your system's processor is ok for use with KVM.ĭon't forget to log off and back on after the installation, otherwise your user will not be activated as a member of the libvirtd group and you will not be able to use KVM.ĭownload the latest Android Studio. Install the complete KVM/qemu on your system by following the instructions given here. You need to install the Oracle JDK 8 and this can be done by adding the webupd8team java ppa to your system ( sudo add-apt-repository ppa:webupd8team/java) and installing both oracle-java8-installer and oracle-java8-set-default. You must be using the 64-bit Ubuntu 16.04 of course. Your system must be equipped with a 64-bit CPU capable of supporting Hardware Virtualization and at least 4 GB of RAM but this will not be enough if you're planning to use other programs while Android Studio is running. Installing and using Android Studio on Ubuntu 16.04 is a task that needs a certain strategy and you need to follow certain steps.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |