Home › Build error fixes › Android / Gradle
A dependency could not be processed (wrong or incompatible version)
Android / Gradle · last reviewed 2026-11-10
The error looks like this
> Failed to transform react-native-0.71.0-rc.0-debug.aar (com.facebook.react:react-native:0.71.0-rc.0) to match attributes {artifactType=android-symbol-with-package-name}Why it happens
Gradle downloaded a version of a library that does not fit your project — often a newer React Native artifact than your app uses, or an old library that Jetifier cannot convert.
How to fix it
- Check the version in the file name: if it is not your React Native version, pin it (update to the latest patch release of your RN minor version).
- Update the library named in the message.
- Clear the cache: cd android && ./gradlew --stop && rm -rf ~/.gradle/caches/transforms-*
Not sure this is your error? Let ReleaseMedic read the whole log
Build logs are long and the last line is rarely the real cause. ReleaseMedic finds the first real error, explains it and gives the steps — free, and the log never leaves your computer.
$ npx releasemedic log build.logOr pipe a build straight in: cd android && ./gradlew bundleRelease 2>&1 | npx releasemedic log -
Catch it before you build
Most release errors come from project settings you can check in seconds — signing, SDK levels, privacy manifests, permissions, push and login setup.
$ npx releasemedic