This will open a new “node” window with the title “Running Metro Bundler on port 8081.” Npm install -g react react-native react-native-cli Build an Appįrom a command prompt enter the following: When that finishes run the following in a command shell: Install Node.js accepting all the defaults. The emulator will show in the Task Manager as “qemu-system-x86_64.exe” and will take a lot of memory and CPU! Install React Native Tools I got a warning that that the emulator is using a “compatibility renderer”, which is fine with me. We may want to create another one with “Google Play”.Ĭlick the green arrow under the Actions column to start an emulator. Note that this is a “Google API” emulator. Select the AVD (Android Virtual Device) Manager command to view the emulator that got created for you.
Make a note of this since we will need it for the ANDROID_HOME environment variable later: Select the SDK Manager command to confirm that you have installed an SDK in a path without a space. When it finishes we have the Welcome screen. The download and unzip process takes some time. So, I’ll just put the SDK into C:\Android. Note that the dialog warns that the SDK location should not contain whitespace: : Check the box to install the Android Virtual Device. Install Android Studio and Emulatorĭownload Android Studio and install both Android Studio and Android Virtual Device. For this exercise I’m starting with a clean install of Windows 10 64-bit and I will walk through the steps I took, including the errors I encountered (so that if you get the same errors you might find this blog post!).
I’m presently teaching a class on mobile application development and have decided to share my notes about how to get things working.
Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable.” Introduction