Skip to content

Instantly share code, notes, and snippets.

@matheusnascgomes
Last active June 7, 2019 01:42
Show Gist options
  • Select an option

  • Save matheusnascgomes/40ae26a74b364d7da29b404e1142e1b4 to your computer and use it in GitHub Desktop.

Select an option

Save matheusnascgomes/40ae26a74b364d7da29b404e1142e1b4 to your computer and use it in GitHub Desktop.
When you build the project's apk and the result is an older apk version, update the generated output by doing this

When you build the project's apk and the result is an older apk version, update the generated output by doing this

Run the following command and then try build the app again

react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res

@matheusnascgomes
Copy link
Author

matheusnascgomes commented Jan 17, 2019

react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res

@matheusnascgomes
Copy link
Author

matheusnascgomes commented Jan 17, 2019

Also, you could try:
https://www.npmjs.com/package/react-native-clean-project
react-native start --reset-cache

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment