Now, we can start up Eclipse.Įclipse will prompt you to choose a workspace location. You can use whatever you'd like.)Īnd we're going to add the following at the bottom of the file (making sure you replace yourusername with your actual username.)Įxport PATH=$:/home/yourusername/android-sdk-linux_x86-1.0_r1/tools Open up your ~/.bashrc in your favorite editor (because I'm doing this in Xubuntu, I'm using mousepad. Without this, we'll encounter all sorts of odd problems later. Now, this is the single most important step. Let's move the resulting folder into our home folder. Personally, I just made a launcher for it on my Desktop. Type in the name, and the full location to Eclipse (/home/yourusername/eclipse/eclipse), and finally, click OK. Click on Programming, and then click New Item. Now, if you want to add eclipse to your menu, right click on Applications and Edit Menu. Now that Java is installed, we can get started on Eclipse. It will tell you that you have to accept the license to continue, and then prompt you again. Once it's done downloading the files, it will prompt you about the license. (If you're using a 64 bit distribution, you'll also need to install the ia32-libs as well) Bring up a terminal window ( Applications -> Accessories -> Terminal). The version we want is Eclipse IDE for Java Developers. The first thing we need to do is download all of the needed files. They're also the exact same for buntu 8.10. These steps are the same for Ubuntu and Kubuntu as well. Install missing libraries with a recommended answer: sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6įor information about connecting to USB device see this issue /microsoft/WSL2-Linux-Kernel/issues/23 refering to this guide: /rpasek/usbip-wsl2-instructionsĪ limitation is that WSL2 does not support nested virtualization at this time, so you will not be able to emulate an virtual Android device.Note: In this tutorial, I'm using Xubuntu 8.04. However, if you manually install missing libraries, it will complete the installation. You can face an error during installation: "Unable to run mksdcard SDK tool." - see a related question on Stack overflow. You can find a whole guide to start GUI applications including enabling WSL2 here: All you need is to install VcSrv or any alternative on Windows side (I recommend paid X410 as an alternative with better UX) and xfce4 on Unix side and then configure Unix display to show in Windows by export DISPLAY=:0Īfter you configure it, you can download and install Android Studio from Please note, that GUI applications are not officially supported by Microsoft, however it works and does not cause any filesystem problems in my case. For running Android Studio in WSL image you need to enable WSL2 which is currently subject of Windows Insider Preview builds.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |