Closed alexander01202 closed 2 years ago
From the react-native-background-geolocation
repo, it seems you need to purchase a license for Android release builds. I presume the error might be related to that. It's definitely not related to Expo, so I suggest you open an issue in their repo if things aren't working.
Summary
I am trying to run the code
eas build --profile production --platform android
but It fails when building. I am so confused and overwhelmed by this error. I do not even know what or where to start from.The Error:
My package.json:
My app.config.js:
My app.config.js has the environment variable because I was trying to build before and I got the error:
git command not found. Install it before proceeding or set EAS_NO_VCS=1 to use EAS CLI without Git (or any other version control system).
Environment
Please specify your device/emulator/simulator platform, model and version
N/A
Error output
No response
Reproducible demo or steps to reproduce from a blank project
I am not sure how to reproduce this exact error because I don't know what is causing it. I searched online and everyone has the same final error
(Gradle build failed with unknown error. Please see logs for the "Run gradlew" phase.)
but different solutions or cause of error. This is the code I ran that caused the error:eas build --profile production --platform android