


This makes sure all your new environment variables are loaded before you install Android Studio.

PATH+=C:\Program Files\Java\openjdk-8u222-b10\bin.JAVA_HOME=C:\Program Files\Java\openjdk-8u222-b10.Change or add the following to system variables ("Systemvariabler"):.Then go to environment variables ("Miljøvariabler").Open the Windows seach dialog, search for and go to the advanced system settings ("Vis avanserte systeminnstillinger").

Go to the OpenJDK download page and choose the OpenJDK8u-jdk_圆4_windows_8u222b10.zip download.In parenthesis I sometimes refer to Norwegian Windows dialog names/settings. For simplicity, I settled for Android Studio in this walkthrough with no extra IDEs like Visual Studio Code. The goal is getting to a running React Native, Hello World app, as quickly as possible, on a virtual device, on Windows. Ok, I don't know if people risk Oracle lawyers paying visits if you use the OracleJDK as basis for your development, but I feel it's better to be safe than sorry, so OpenJDK it is. As a bonus, you get the OpenJDK instead of the OracleJDK, which means you have no strings attached to the Oracle licensing model when you start making tons of money on your app and Oracle want to come collecting their part. In this blog post I simply present my notes and the minimum steps to get this working. There are tons of tutorials, true, but most of them add some unnecessary complexity for your first attempt on an app, or they keep out key aspects that a novice really needs to know.Īt my second and a half attempt on getting a simple Hello World app running on a virtual device, I started taking notes. Strange really, in this age of Internet Enlightenment. While the latter is very true, the former wasn't. There are tons of tutorials on the topic, I thought. The first step would be to set up my local development environment. The other day I wanted to start transforming my wonderful Garasjesjakk into an Android App and publish it on the Play Store.
