![]() For example, change directory to your home directory, edit the. bashrc file in your home directory (specifics may differ depending on the particular Linux distribution in use). This can typically be achieved by adding a command to the. For example, assuming that the JDK ultimately installed into /home/demo/java/jdk1.7.0_45 the following would need to be added to your $PATH environment variable: /home/demo/java/jdk1.7.0_45/bin Add the path to the bin directory of the JDK installation to your $PATH variable. Execute the following command (where is replaced by the name of the downloaded JDK file): tar xvfz. Download the appropriate tar.gz package from the Oracle web site into the directory.ģ. Create the directory into which the JDK is to be installed (for the purposes of this example we will assume /home/demo/java).Ģ. To install using the compressed tar package (tar.gz) perform the following steps:ġ. Assuming, for example, that the downloaded JDK file was named jdk-7u45-linux-圆4.rpm, the commands to perform the installation would read as follows: su ![]() rpm JDK file from the Oracle web site and perform the installation using the rpm command in a terminal window. On Red Hat based Linux systems, download the. Packages are provided by Oracle in RPM format (for installation on Red Hat Linux based systems such as Red Hat Enterprise Linux, Fedora and CentOS) and as a tar archive for other Linux distributions such as Ubuntu. Then click Next/Finish to get back to Android Studio.Firstly, if the chosen development system is running the 64-bit version of Ubuntu then it is essential that the 32-bit library support package be installed: sudo apt-get install ia32-libsĪs with Windows based JDK installation, it is possible to install the JDK on Linux by downloading the appropriate package from the Oracle web site, the URL for which is as follows: In the window that appears, select a row where the "ABI" starts with "arm", such as "armeabi-v7a". In the configuration screen, in the area for the android version Lollipop, at right click Change. Press the "pencil" icon on the right side to edit the device's configuration. Then you should see your default Nexus device. To change your VM to ARM mode, click the AVD Manager icon at the top of Android Studio: Unfortunately, changing your VM to ARM mode will make the VM run very slowly because it is not hardware accelerated. If that fix does not work, you can instead change your VM to use the ARM CPU mode rather than x86. ![]() The first fix is to enable hardware acceleration by following Google's instructions for configuring VM acceleration. Please ensure Intel HAXM is properly installed and usable.ĬPU acceleration status: HAX kernel module is not installed! If you get the following error at this point:Įmulator: ERROR: x86 emulation currently requires hardware acceleration! If necessary, click "Download" next to "Pie" to install the necessary software. ![]() On the next screen about System Image, Choose Pie. Set Category to "Phone", Device name to "Nexus 5X". If you don't see any virtual devices available, you may need to create one.Ĭlick "+ Create Virtual Device.", then mostly choose the defaults. (Ours was called "Nexus X API 28" when this guide was last updated.) On most machines, you can choose the default virtual device that was created during installation. Once you do this, it will ask you what virtual device you want to use. If you need more information, see Google's Android page on installing Android Studio:Ĭlick the "Play" button icon in the top toolbar to run the app: These USB drivers will help you to deploy apps to your phone or tablet from your computer. If you are using the Windows operating system, you should also download and install the following USB driver pack. If your OS is blocking the installation, go to System Preferences > Security & Privacy and under "Allow applications downloaded from", select Anywhere. You might see a warning that says, "The package is damaged and should be moved to the trash." If you are using a Mac, your computer might try to block the Android Studio installation. Make certain that the " Virtual Device" checkbox is checked during your install, if available. When you first run Android Studio, there are further questions and downloads of various components you may again use all of the defaults for this part of the process. You can choose all of the default settings during the installation. The installation make take a while because of all the components and libraries included. Once you have downloaded the installer, run it to install Android Studio on your computer. The download may take a while because the file can be around 1gb or more in size. Then you will be able to download the software. Once you click the Download link, you will be asked to accept a license agreement.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |