Hi, I’m trying to use react-native-purchases
. This guide says it should work, and it is working for iOS (the build succeeded, and I’m able to make purchases in my iOS dev-client).
However, trying the analogous build for Android fails.
Notes:
- Managed Workflow
- eas-cli version
eas-cli/0.33.1 darwin-x64 node-v14.17.0
- Link to build: Build Details — a09f0f25-90bf-497c-9701-5f11978035ca — boost — Expo
The gradlew task that is failing is:
The error shows:
* What went wrong:
Execution failed for task ':react-native-payments:compileDebugJavaWithJavac'.
I found on SO that a similar failure was caused by the React Native version not being aligned with Grade version.
The build command I ran for EAS was:
eas build --profile development --platform android
Here is my eas.json > development
configuration:
"build": {
"development": {
"developmentClient": true,
"distribution": "internal"
},
...