I do an require for package.json in my React-Native-App to read the Version-Number from there to display it in my App:
const pjson = require('../../package.json');
Caused of this, I got an error while bundling an RELEASE APK in Android with gradle:
Task :app:mergeReleaseResources FAILED /home/Projekte/APP/android/app/build/generated/res/react/release/raw/package.json: Error: package is not a valid resource name (reserved Java keyword)
Is there a way to exclude this package.json from the Process who merge the Resources for the APK?