Skip to content
This repository was archived by the owner on Jun 30, 2024. It is now read-only.
This repository was archived by the owner on Jun 30, 2024. It is now read-only.

Build failed: Task :react-native-device-brightness:verifyReleaseResources FAILED #27

@nurmantg

Description

@nurmantg

Hello, when I try to build release apk I get these errors
how I fix it?

`* What went wrong:
Execution failed for task ':react-native-device-brightness:verifyReleaseResources'.

1 exception was raised by workers:
com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed
error: resource android:style/TextAppearance.Material.Widget.Button.Borderless.Colored not found.
error: resource android:style/TextAppearance.Material.Widget.Button.Colored not found.
D:\react\Smarts\node_modules\react-native-device-brightness\android\build\intermediates\res\merged\release\values-v26\values-v26.xml:7: error: resource android:attr/colorError not found.
D:\react\Smarts\node_modules\react-native-device-brightness\android\build\intermediates\res\merged\release\values-v26\values-v26.xml:11: error: resource android:attr/colorError not found.
D:\react\Smarts\node_modules\react-native-device-brightness\android\build\intermediates\res\merged\release\values-v26\values-v26.xml:15: error: style attribute 'android:attr/keyboardNavigationCluster' not found.
D:\react\Smarts\node_modules\react-native-device-brightness\android\build\intermediates\res\merged\release\values-v28\values-v28.xml:7: error: resource android:attr/dialogCornerRadius not found.
D:\react\Smarts\node_modules\react-native-device-brightness\android\build\intermediates\res\merged\release\values-v28\values-v28.xml:11: error: resource android:attr/dialogCornerRadius not found.
D:\react\Smarts\node_modules\react-native-device-brightness\android\build\intermediates\res\merged\release\values\values.xml:2734: error: resource android:attr/fontStyle not found.
D:\react\Smarts\node_modules\react-native-device-brightness\android\build\intermediates\res\merged\release\values\values.xml:2735: error: resource android:attr/font not found.
D:\react\Smarts\node_modules\react-native-device-brightness\android\build\intermediates\res\merged\release\values\values.xml:2736: error: resource android:attr/fontWeight not found.
D:\react\Smarts\node_modules\react-native-device-brightness\android\build\intermediates\res\merged\release\values\values.xml:2737: error: resource android:attr/fontVariationSettings not found.
D:\react\Smarts\node_modules\react-native-device-brightness\android\build\intermediates\res\merged\release\values\values.xml:2738: error: resource android:attr/ttcIndex not found.
D:\react\Smarts\node_modules\react-native-device-brightness\android\build\intermediates\res\merged\release\values\values.xml:2902: error: resource android:attr/startX not found.
D:\react\Smarts\node_modules\react-native-device-brightness\android\build\intermediates\res\merged\release\values\values.xml:2905: error: resource android:attr/startY not found.
D:\react\Smarts\node_modules\react-native-device-brightness\android\build\intermediates\res\merged\release\values\values.xml:2908: error: resource android:attr/endX not found.
D:\react\Smarts\node_modules\react-native-device-brightness\android\build\intermediates\res\merged\release\values\values.xml:2911: error: resource android:attr/endY not found.
D:\react\Smarts\node_modules\react-native-device-brightness\android\build\intermediates\res\merged\release\values\values.xml:2919: error: resource android:attr/offset not found.
error: failed linking references.`

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions