-
Notifications
You must be signed in to change notification settings - Fork 291
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Execution failed for task ':react-native-bluetooth-serial:verifyReleaseResources'. #102
Comments
Got the same problem. Did you resolve it anyway? |
no |
I finally did. This solution helped me: |
FAILURE: Build failed with an exception.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. buildscript { Facing the same issue.. |
I was having the same issue
with this project configuration But this work for me... |
java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed
Output: error: resource android:style/TextAppearance.Material.Widget.Button.Borderless.Colored not found.
error: resource android:style/TextAppearance.Material.Widget.Button.Colored not found.
/Users/huidongche/Documents/sz/workflow/workflow-mobile/node_modules/react-native-bluetooth-serial/android/build/intermediates/res/merged/release/values-v26/values-v26.xml:7: error: resource android:attr/colorError not found.
/Users/huidongche/Documents/sz/workflow/workflow-mobile/node_modules/react-native-bluetooth-serial/android/build/intermediates/res/merged/release/values-v26/values-v26.xml:11: error: resource android:attr/colorError not found.
/Users/huidongche/Documents/sz/workflow/workflow-mobile/node_modules/react-native-bluetooth-serial/android/build/intermediates/res/merged/release/values-v26/values-v26.xml:15: error: style attribute 'android:attr/keyboardNavigationCluster' not found.
/Users/huidongche/Documents/sz/workflow/workflow-mobile/node_modules/react-native-bluetooth-serial/android/build/intermediates/res/merged/release/values/values.xml:226: error: resource android:attr/fontStyle not found.
/Users/huidongche/Documents/sz/workflow/workflow-mobile/node_modules/react-native-bluetooth-serial/android/build/intermediates/res/merged/release/values/values.xml:226: error: resource android:attr/font not found.
/Users/huidongche/Documents/sz/workflow/workflow-mobile/node_modules/react-native-bluetooth-serial/android/build/intermediates/res/merged/release/values/values.xml:226: error: resource android:attr/fontWeight not found.
error: failed linking references.
Command: /Users/huidongche/.gradle/caches/transforms-1/files-1.1/aapt2-3.2.0-4818971-osx.jar/35e5db7c76f122562c5cd109f87be003/aapt2-3.2.0-4818971-osx/aapt2 link -I\
ext {
buildToolsVersion = "27.0.3"
minSdkVersion = 19
compileSdkVersion = 27
targetSdkVersion = 26
supportLibVersion = "27.1.1"
}
The text was updated successfully, but these errors were encountered: