Questions tagged [bundle-release-js-and-assets]
6 questions
2
votes
1 answer
React Native 0.57.7 - Android build failed at task :app:mergeReleaseResources
I'm getting an error when running the ./gradlew assembleRelease --stacktrace command in my React Native (v0.57.7) project's android folder:
> Task :app:mergeReleaseResources…

skizzo
- 393
- 1
- 3
- 13
1
vote
1 answer
At most one element with namespace '' was expected, but 2 were found
I can generate apk using assembleRelease but when I run bundleRelease it throws an error saying
Execution failed for task ':app:packageReleaseBundle'.
A failure occurred while executing…

Attit Pudasaini
- 13
- 2
1
vote
0 answers
unable to generate APK file react-native Error: EEXIST: file already exists, mkdir 'D:\native'
error screenshot
Hello world, I am newbie to react native and facing difficulty to generate apk file for my project.
getting a strange error when running command "gradlew bundleRelease" the process starts but after 2 minutes it generates a file in…

Usama Baloch
- 11
- 1
1
vote
0 answers
Error when trying to run 'gradlew assembleRelease' in the Windows command line : jest-haste-map: Haste module naming collision
I am trying to generate a .apk file of my react native project with the 'gradlew assembleRelease' command. I'm using AWS Amplify, which is where the naming collision seems to be coming from. The version of react native I'm running is 0.59.9.
I've…

Kim
- 23
- 4
0
votes
0 answers
React Native build apk app fail with typescript
So i just build a new react native app with typescript. And the problem here is when i run
npm run build_apk
it got error like below. And i think because i use typescript so my file name was index.tsx ,not index.js , but i don't know how to fix…

Lê VỸ
- 11
- 1
0
votes
1 answer
React Native app:bundleReleaseJsAndAssets Error: The 'decorators' plugin requires a 'decoratorsBeforeExport' option
When I run ./gradlew assembleRelease I get back this error:
Task :app:bundleReleaseJsAndAssets
warning: the transform cache was reset.
Loading dependency graph, done.
index.js: The 'decorators' plugin requires a 'decoratorsBeforeExport' option,…

danielrvt
- 10,177
- 20
- 80
- 121