For Mac Android Studio
Technical docs > Configuring Android Studio: IDE & VM Options, JDK, etc > Mac OSX JDK Selection
|
The Chrome OS is gaining in popularity but what if you want to try it out before splurging the cash on a Chromebook? Now you can try it out on Windows first with Android Studio.
The Chrome OS is gaining plaudits as more and more features are added. So it makes sense if you are curious and you want to give the system a spin. But since the Chrome OS is really only available on Chromebook laptops, you can’t really use Chrome OS on other operating systems. But there is a (sort of) workaround.
Using the free Android Studio, you can set up a virtual machine on Windows, MacOS and Linux computers, then run the Chrome OS inside it. You won’t get the complete Chrome OS experience on it but you will see enough to know whether or not the operating system is for you. The Chrome browser that comes with it is fully functional and you can sync all your browser settings to it.
Setting Up Chrome OS On Your Computer Using Android Studio
Android Studio For Mac OS is the most popular and powerful application which will allows to developers to write, debug, edit every android application effortlessly. Android Studio is used widely around the global.
When setting this up for the first time, there is some work involved. But Android Studio more or less holds your hand. When it doesn’t, well that’s what we’re here for.
Note you are going to need at least 3GB for the installation and another 2GB or so in RAM to make it go smoothly. So make sure you have those specs before you start. The virtual machine is going to take up a lot of memory (more than 50%) so shut down all other unnecessary programs first.
Download The Installation File
The first step is to go to Android Studio and download the installation program.
Install The First Part Of The Program
Now install it. This part is fairly straightforward. This however is only the first part of the installation, and the easiest part.
When this part of the installation is over, you will be asked if you have any settings and configurations from a previous installation. If so, you can import them in. If not, choose “Do not import settings” and click OK.
Run The Setup Wizard
Time to start up the wizard. You can choose things such as the color of your Chrome OS skin. I like the dark color but you can easily change it later if you decide you don’t like it.
Wait For The Next Part To Download & Install
It will then start downloading, unzipping and installing the rest of the necessary packages. This part took a while for me, so be patient. It helps if you shut down all unnecessary running programs, especially browsers. Mozenda for mac.
Eventually you will see this window.
Get Chrome OS From The SDK Manager
At the bottom left of that window, you will see a “Configure” option. Click that and choose “SDK Manager.” We are now going to choose our Android version and get Chrome OS.
After selecting “SDK Manager,” choose “SDK Update Sites” and click on the green “+” icon on the far right of the screen. A box will now come up. Under name, type “Chrome OS Repository.” In the URL field, type :
Click “Apply” then OK to save and close the box.
Now open a new box, and call it “Chrome OS System Images” and under URL, type :
Now switch to the SDK Tools tab and tick “Chrome OS device.”
When you click OK, the selected tools will be installed. Again, this might take a while as you are getting the Chrome OS file. When the installation has been done, restart Android Studio for the changes to kick in.
Create a New Android Project
Now it’s time to go back to the main Android Studio screen and create a new Android Project (assuming you haven’t imported in any previous project).
As you can see in the screenshot above, call your application “Chrome OS.” Under company domain, leave it alone. In my case, “mmpc” is the name of my hard drive, so let yours default to whatever name Android Studio gives you.
The project location will automatically default to where Android Studio is installed on your computer. Unless you have a good reason to change this location, leave it as it is.
Now choose which “devices” you want to use Chrome OS on. To make things simple, just select “Phone and Tablet.” Of course you are free to choose others if you want.
Create a New Virtual Device
Now it is time to create the virtual device which you will run Chrome OS on. Click the AVD Manager icon on the next screen which is a pink rectangular icon.
Select “Tablet” on the left hand side and then “Pixelbook (beta)” from the main list.
Download & Install Your Preferred Android Version
The next screen will ask you to select and download your Android version. It makes sense to go with the latest version but if you want an earlier version, you can choose it and download it.
Now click “Finish” and installation is finished.
Switch On The Virtual Device & Log In With Your Google Account
The next screen is your Virtual Devices screen (you can make multiple virtual devices with different OS’s). On the right-hand side, you will see a green play button to start it up.
Once you click the play button, your newly minted Chrome OS will boot up. You will then be asked to log into your Google account and invited to sync your browser settings.
It is worth pointing out that you are going to experience some keys on your keyboard not working. Including, believe it or not, the @ key! So I recommend you set up a disposable email address just for trying out the Chrome OS. Give it a very simple password with no special characters. That way, you won’t blow your stack trying to log in with your 35 character complex password.