Node/ReactNative: Difference between revisions

From Fundamental Ramen
Jump to navigation Jump to search
No edit summary
Line 27: Line 27:
</source>
</source>


Delete folder '''android/app/build'''.
=== A ===
* Delete folder '''android/app/build'''.
 
=== B ===
* Delete repository and clone again.
* npx react-native run-android
* Accept notification of firewall settings.

Revision as of 10:27, 7 September 2020

Android

npx react-native run-android

iOS

  • Open Xcode
  • Open Workspace
  • Select Generic Device or Menu > Product > Destination > Generic Device
  • Select Menu > Product > Archive
react-native bundle \
  --entry-file index.js \
  --platform ios \
  --dev false \
  --bundle-output ./ios/bundle/index.ios.jsbundle \
  --assets-dest ./ios/bundle

Trouble Shooting

> Task :app:generateDebugBuildConfig FAILED

A

  • Delete folder android/app/build.

B

  • Delete repository and clone again.
  • npx react-native run-android
  • Accept notification of firewall settings.