Skip to content

Update building apk

Here are the changes, I made to Errors,Fix and Help.md file and why they were made:

  1. Added fix for error: "Strict mode does not allow function declarations in a lexically nested statement" in debug APK
  2. Shift react-native bundle command above because it overwrites the curl while bundling into index.android.bundle (This was the reason for the above error).
  3. Previously, the build method created a debug APK, which worked since the last command react-native run-android starts the npm server itself. Thus the APK may worked. Shifting ./gradlew assembleDebug worked way better.
Edited by Shubhkirti Sharma

Merge request reports