Closed hagmic closed 2 years ago
I was having build Issues after upgrading from react-native 0.56.x
to 0.61.5
and this PR was the last piece of the puzzle to get android compiling properly.
Without this fix, i was getting this error while trying to create an android build (building straight to device worked just fine):
> Task :react-native-user-agent:verifyReleaseResources FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':react-native-user-agent:verifyReleaseResources'.
> 1 exception was raised by workers:
com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed
/Users/user/Documents/my-app/node_modules/react-native-user-agent/android/build/intermediates/res/merged/release/values-v28/values-v28.xml:7: error: resource android:attr/dialogCornerRadius not found.
/Users/user/Documents/my-app/node_modules/react-native-user-agent/android/build/intermediates/res/merged/release/values-v28/values-v28.xml:11: error: resource android:attr/dialogCornerRadius not found.
/Users/user/Documents/my-app/node_modules/react-native-user-agent/android/build/intermediates/res/merged/release/values/values.xml:2743: error: resource android:attr/fontVariationSettings not found.
/Users/user/Documents/my-app/node_modules/react-native-user-agent/android/build/intermediates/res/merged/release/values/values.xml:2744: error: resource android:attr/ttcIndex not found.
error: failed linking references.
Same boat here. Recommending a merge and release :)
Same issue here, the PR fixed it, would appreciate the merge
@bebnev any updates on this? 🚀
Please @bebnev add someone with merge rights to get this PR merged if you can't spare your own time. It would be sad to see this project go out of date.
Sorry guys, was out for a while. Have a look at version 2.3.1
I fixed all the issues
Closes #12