I have tried many solutions but it always give the same problem on every project. I am stuck at this for more then 3 days. The possible solutions that i have tried are as follow
1: ./gradlew assembleRelease -x bundleReleaseJsAndAssets
2: { "presets": ["react-native"], "ignore": ["index.ios.js","index.android.js"] }
3: gradlew assembleRelease --console plain
Tried all these but no solution found for generating.
I also have this problem!

I'm try clear cache and other solution but not working.
Hi! Could you provide more information about your project here? What have you tried so far to resolve this?
Hi! Could you provide more information about your project here? What have you tried so far to resolve this?
Hi, anp! I'm try
npm start -- -reset-cache
react-native-git-upgrade
react-native upgrade
same problem here. i get stuck since 1 week
How to reproduce the problem ?
1) react-native init
2) cd
3) react-native run-android --deviceId H80xxx
Problem
After step 3 i get
:app:bundleReleaseJsAndAssets
Scanning folders for symlinks in X:\xxxxxxxxx\node_modules (56ms)
Scanning folders for symlinks in X:\xxxxxxxxx\node_modules (63ms)
warning: the transform cache was reset.
Loading dependency graph, done.
Unable to resolve module AccessibilityInfo from X:\xxxxxxxxx\node_modules\react-native\Libraries\react-native\react-native-implementation.js: Module AccessibilityInfo does not exist in the Haste module map
This might be related to https://github.com/facebook/react-native/issues/4968
To resolve try the following:
watchman watch-del-all.node_modules folder: rm -rf node_modules && npm install.rm -rf /tmp/metro-bundler-cache-* or npm start -- --reset-cache. 4. Remove haste cache: rm -rf /tmp/haste-map-react-native-packager-*.:app:bundleReleaseJsAndAssets FAILED
FAILURE: Build failed with an exception.
note
So what's wrong ?