MetaMask / MetaMask/react-native-aes-crypto-forked
Translation: I'm encountering the following error in the Android side of my React Native project.
- Dominant language
- Java
- Stars
- 7
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
buildToolsVersion = '33.0.0'
compileSdkVersion = 33
targetSdkVersion = 33
> Task :react-native-aes-crypto-forked:verifyReleaseResources FAILED
> Task :app:processReleaseResources
Execution optimizations have been disabled for task ':app:processReleaseResources' to ensure correctness due to the following reasons:
- Gradle detected a problem with the following location: '/node_modules/@react-native-community/blur/android/build/intermediates/symbol_list_with_package_name/release/package-aware-r.txt'. Reason: Task ':app:processReleaseResources' uses this output of task ':@react-native-community_blur:generateReleaseRFile' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.5.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':react-native-aes-crypto-forked:verifyReleaseResources'.
> A failure occurred while executing com.android.build.gradle.tasks.VerifyLibraryResourcesTask$Action
> Android resource linking failed
ERROR:/node_modules/react-native-aes-crypto-forked/android/build/intermediates/merged_res/release/values-v28/values-v28.xml:7: AAPT: error: resource android:attr/dialogCornerRadius not found.
ERROR:/node_modules/react-native-aes-crypto-forked/android/build/intermediates/merged_res/release/values-v28/values-v28.xml:11: AAPT: error: resource android:attr/dialogCornerRadius not found.
ERROR:/node_modules/react-native-aes-crypto-forked/android/build/intermediates/merged_res/release/values/values.xml:2717: AAPT: error: resource android:attr/lStar not found.
ERROR:/node_modules/react-native-aes-crypto-forked/android/build/intermediates/merged_res/release/values/values.xml:2816: AAPT: error: resource android:attr/fontVariationSettings not found.
ERROR:/node_modules/react-native-aes-crypto-forked/android/build/intermediates/merged_res/release/values/values.xml:2817: AAPT: error: resource android:attr/ttcIndex not found.
ERROR:/node_modules/react-native-aes-crypto-forked/android/build/intermediates/merged_res/release/values/values.xml:3443: AAPT: error: resource android:attr/textFontWeight not found.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the reported release build failure in react-native-aes-crypto-forked/android and the react-native-aes-crypto-forked resource paths. Reproduce the Android release build using the listed SDK and build-tools versions, then determine which resource-linking compatibility issue causes the missing Android attributes. Done means the release build completes without these resource errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, react-native
- Domain
- build-system, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100