Issue with Android build on expo, execution failed for task ':app:minifyReleaseWithR8'
OS:
- [ ] Windows
- [ ] MacOS
- [x] Linux
Platform:
- [ ] iOS
- [x] Android
SDK:
- [x]
@sentry/react-native(>= 1.0.0) - [ ]
react-native-sentry(<= 0.43.2)
SDK version: 5.22.0
react-native version: 18.2.0
Are you using Expo?
- [x] Yes
- [ ] No
Are you using sentry.io or on-premise?
- [x] sentry.io (SaaS)
- [ ] on-premise
I have the following issue:
When running the expo build for android I get an error on the task :app:minifyReleaseWithR8.
Installed software:
- NDK 25.1.8937393
- Node.js 18.18.0
- Bun 1.0.14
- Yarn 1.22.19
- pnpm 8.9.2
- npm 9.8.1
- Java 17
- node-gyp 10.0.1
- Gradle 8.6 Resolved builder image to 'sdk-51'.
Steps to reproduce:
- Push a new build to expo:
eas submit --profile production --platform android
Actual result:
Hi @tiagohorta21, thank you for the message.
Are you using the Expo CNG, or you maintain the native project your self? If the later are you using Sentry Android Gradle Plugin (could you share your app/build.gradle Sentry setup)?
Does specifically eas submit fails or also local dev or production builds fail?
Closing this due to inactivity. If this is still an issue feel free to comment here or open a new issue if the context changed.