


You have built a great app using React Native, and you are now itching to release it in the Play Store. Your app will reload whenever your JavaScript code has changed.

You can now enable Live reloading from the Developer menu. Go back to the Developer menu and select Reload JS.Type in your machine's IP address and the port of the local dev server (e.g.Go to Dev Settings → Debug server host & port for device.

You'll see a red screen with an error.Open your React Native app on your device.Make sure your laptop and your phone are on the same Wi-Fi network.You can find the IP address in System Preferences → Network. You'll need your development machine's current IP address before proceeding. You'll first need to install the app on your device using a USB cable, but once that has been done you can debug wirelessly by following these instructions. You can also connect to the development server over Wi-Fi. (You can click the green "play" triangle in the AVD window.You can now enable Live reloading from the Developer menu. Tip: Start the AVD Name with the API level number so the list of Virtual Devices will sort by API level.You might have to switch from the "Recommended" group to the "x86 Images" or "Other Images" group to find one.If you depend on Google APIs (Google Sign In, Google Fit, etc.), pick an image marked with "(Google APIs)".Pick any image that does NOT say "(Google Play)" in the Target column.Select the virtual Hardware, and click Next.In Android Studio, use the menu command Tools > AVD Manager.Steps: To install and use an emulator image that can run as root: adbd cannot run as root in production buildsĪlternate test: Run adb shell, and if the prompt ends with $, run su.Test it: Launch the emulator, then run adb root. Workaround: Use the Release Q (API level 29) Android TV system image instead. (The label text and other UI details vary by Android Studio version.)Įxception: As of, the Release R "Android TV" system image will not run as root. To enable root access: Pick an emulator system image that is NOT labelled "Google Play".
