Last active
March 21, 2019 20:14
-
-
Save modpluz/072e1f2b4a1429dbcf2306c1b2fbbf47 to your computer and use it in GitHub Desktop.
React Native Android build Troubleshooting
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Rebuild Bundle | |
`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` | |
error: Duplicate file. Original is here. The version qualifier may be implied. | |
`rm -rf android/app/src/main/res/drawable-xxxhdpi android/app/src/main/res/drawable-xxhdpi android/app/src/main/res/drawable-xhdpi android/app/src/main/res/drawable-mdpi android/app/src/main/res/drawable-hdpi` | |
`cd android && ./gradlew assembleRelease` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment