-
Notifications
You must be signed in to change notification settings - Fork 71
Build failed: Task :react-native-device-brightness:verifyReleaseResources FAILED #27
Description
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