Steps to Build Offline APK for Real Device – React Native

To test our React Native App in our phone, we can follow the following steps.

STEP 1 : Generate JS Bundle

Run the above command in your project root folder. This will pack your code into a static file.

STEP 2: Build the APK

navigate to android folder using this command in terminal.

Now build a debug APK using gradle

Now you can find the APK file in the following path

Now we can install this APK in our Android phone to test our App.

One thought on “Steps to Build Offline APK for Real Device – React Native”

Leave a comment