System:
OS: Linux 4.15 Ubuntu 18.04.3 LTS (Bionic Beaver)
CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
Memory: 9.62 GB / 31.21 GB
Shell: 4.4.20 - /bin/bash
Binaries:
Node: 10.5.0 - ~/.nvm/versions/node/v10.5.0/bin/node
Yarn: 1.12.3 - ~/.nvm/versions/node/v10.5.0/bin/yarn
npm: 6.4.1 - ~/.nvm/versions/node/v10.5.0/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
npmPackages:
react: 16.9.0 => 16.9.0
npmGlobalPackages:
react-native-cli: 2.0.1
"react-native": "0.61.2" and "react-native": "^0.60.5"
Android studio: 3.5.1
react-native init AwesomeProject (now it is NOT monorepo yet):app:bundleReleaseJsAndAssets)settings.gradle or build.gradle):
Text must not be null or empty by updating node_modules/@react-native-community/cli-platform-android/native_modules.gradle with def command = "../node_modules/.bin/react-native config" (as mentioned / resolved in other issues there)
Before updating my project to RN 0.60.5 and creating it newly via CLI, I used to use RN 0.59 with same monorepo structure (project was NOT created by CLI) and everything worked fine.
Now I created new empty project with CLI and RN 0.60.5 (or 0.61.2, both same issue), started slowly adding source code (actually nearly empty project) and tried to do release for android and it failed with mentioned error.
Described above, nothing special. Just empty project created with React Native CLI and converted to monorepo, trying to do release of android AAB or APK. If someone really need whole source let me know and I will put it into github.
This will be fixed with another release by #768.
in which version and when it will be please?
Latest React Native CLI release, alpha 7. Just install it and use directly, in case you haven't got it yet.
Most helpful comment
This will be fixed with another release by #768.