I'm working on an existing RN (v55.4) project that is using RNN. We upgraded to RNN v2.22.3 last week and then upgraded our RN version to v59.10. I have been banging my head against a wall trying to resolve the Android build errors for 3 days.
Any help is much appreciated. I have looked up some of these issues, but they seem to be related to assembling a release. This is just for building.

Lmk if you need to see any other files. I'm at a loss of what to do next.
I have the same problem.
Environment
I fixed these errors by updating the RN missingDimensionStrategy from 55 to 57_5
app/build.gradle
missingDimensionStrategy "RNN.reactNativeVersion", "reactNative57_5"
I fixed these errors by updating the RN missingDimensionStrategy from 55 to 57_5
app/build.gradle
missingDimensionStrategy "RNN.reactNativeVersion", "reactNative57_5"
Not work for me :(
FAILURE: Build failed with an exception.
What went wrong:
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'.
Could not resolve project :react-native-navigation.
Required by:
project :app
Unable to find a matching variant of project :react-native-navigation:
- Variant 'reactNative56DebugApiElements':
- Required RNN.reactNativeVersion 'reactNative57_5' and found incompatible value 'reactNative56'.
- Required com.android.build.api.attributes.BuildTypeAttr 'debug' and found compatible value 'debug'
What does your java compiler look like?
java version "1.8.0_211"
Java(TM) SE Runtime Environment (build 1.8.0_211-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.211-b12, mixed mode)
Sorry, I mean within the Android Studio window. You should be able to open the compiler to see the issues associated with each library. Like my screenshot in the original issue.
You may need to downgrade to RN v59.10 btw v60 may not be supported yet.
I downgrade to RN v59.9 but not work
Task :app:processDebugResources FAILED
FAILURE: Build failed with an exception.
error Command failed: gradlew.bat app:installDebug
debug Error: Command failed: gradlew.bat app:installDebug
Run Android Studio:
Android resource linking failed
C:\Users--\android\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values-v28\values-v28.xml:7: error: resource android:attr/dialogCornerRadius not found.
C:\Users--\android\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values-v28\values-v28.xml:11: error: resource android:attr/dialogCornerRadius not found.
C:\Users--\android\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:3062: error: resource android:attr/fontVariationSettings not found.
C:\Users--\android\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:3063: error: resource android:attr/ttcIndex not found.
error: failed linking references.
Same issue here .. :/
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If you believe the issue is still relevant, please test on the latest Detox and report back. Thank you for your contributions.
The issue has been closed for inactivity.
Most helpful comment
Not work for me :(
FAILURE: Build failed with an exception. What went wrong: Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'. Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'. Could not resolve project :react-native-navigation. Required by: project :app Unable to find a matching variant of project :react-native-navigation: - Variant 'reactNative56DebugApiElements': - Required RNN.reactNativeVersion 'reactNative57_5' and found incompatible value 'reactNative56'. - Required com.android.build.api.attributes.BuildTypeAttr 'debug' and found compatible value 'debug'