{"action":"opened","issue":{"url":"https://api.github.com/repos/kraffslol/react-native-braintree-xplat/issues/114","repository_url":"https://api.github.com/repos/kraffslol/react-native-braintree-xplat","labels_url":"https://api.github.com/repos/kraffslol/react-native-braintree-xplat/issues/114/labels{/name}","comments_url":"https://api.github.com/repos/kraffslol/react-native-braintree-xplat/issues/114/comments","events_url":"https://api.github.com/repos/kraffslol/react-native-braintree-xplat/issues/114/events","html_url":"https://github.com/kraffslol/react-native-braintree-xplat/issues/114","id":426390421,"node_id":"MDU6SXNzdWU0MjYzOTA0MjE=","number":114,"title":"Failed to build on android (resource not found)","user":{"login":"asifalikhokhar","id":11837568,"node_id":"MDQ6VXNlcjExODM3NTY4","avatar_url":"https://avatars0.githubusercontent.com/u/11837568?v=4","gravatar_id":"","url":"https://api.github.com/users/asifalikhokhar","html_url":"https://github.com/asifalikhokhar","followers_url":"https://api.github.com/users/asifalikhokhar/followers","following_url":"https://api.github.com/users/asifalikhokhar/following{/other_user}","gists_url":"https://api.github.com/users/asifalikhokhar/gists{/gist_id}","starred_url":"https://api.github.com/users/asifalikhokhar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asifalikhokhar/subscriptions","organizations_url":"https://api.github.com/users/asifalikhokhar/orgs","repos_url":"https://api.github.com/users/asifalikhokhar/repos","events_url":"https://api.github.com/users/asifalikhokhar/events{/privacy}","received_events_url":"https://api.github.com/users/asifalikhokhar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-03-28T09:38:12Z","updated_at":"2019-03-28T09:38:12Z","closed_at":null,"author_association":"NONE","body":"It works fine when I do react-native run-android.\r\n\r\nBut when I'm doing assembleRelease, build fails with following error:\r\n\r\n\r\n* What went wrong:\r\n\r\n```\r\nExecution failed for task ':react-native-braintree-xplat:verifyReleaseResources'.\r\n> java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed\r\n  Output:  error: resource android:style/TextAppearance.Material.Widget.Button.Borderless.Colored not found.\r\n  error: resource android:style/TextAppearance.Material.Widget.Button.Colored not found.\r\n  /Users/asifali/Documents/AppManic/BeachBandits/BeachBandits/node_modules/react-native-braintree-xplat/android/build/intermediates/res/merged/release/values-v26/values-v26.xml:7: error: resource android:attr/colorError not found.\r\n  /Users/asifali/Documents/AppManic/BeachBandits/BeachBandits/node_modules/react-native-braintree-xplat/android/build/intermediates/res/merged/release/values-v26/values-v26.xml:11: error: resource android:attr/colorError not found.\r\n  /Users/asifali/Documents/AppManic/BeachBandits/BeachBandits/node_modules/react-native-braintree-xplat/android/build/intermediates/res/merged/release/values-v26/values-v26.xml:15: error: style attribute 'android:attr/keyboardNavigationCluster' not found.\r\n  /Users/asifali/Documents/AppManic/BeachBandits/BeachBandits/node_modules/react-native-braintree-xplat/android/build/intermediates/res/merged/release/values/values.xml:254: error: resource android:attr/fontStyle not found.\r\n  /Users/asifali/Documents/AppManic/BeachBandits/BeachBandits/node_modules/react-native-braintree-xplat/android/build/intermediates/res/merged/release/values/values.xml:254: error: resource android:attr/font not found.\r\n  /Users/asifali/Documents/AppManic/BeachBandits/BeachBandits/node_modules/react-native-braintree-xplat/android/build/intermediates/res/merged/release/values/values.xml:254: error: resource android:attr/fontWeight not found.\r\n  error: failed linking references.\r\n```"}}
{"actor":{"display_login":"asifalikhokhar"}}