Skip to content
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

Android build error #112

Open
rogerarce opened this issue Nov 15, 2018 · 0 comments
Open

Android build error #112

rogerarce opened this issue Nov 15, 2018 · 0 comments

Comments

@rogerarce
Copy link

rogerarce commented Nov 15, 2018

I'm getting a build failed exception error on android I looked at the closed issue number #16 but it looks like a different issue. I have the following versions installed

  • react-native-braintree-xplat: ^4.0.0
  • react: 16.3.1
  • react-native: 0.55.3

and here's my build.gradle file

allprojects {
repositories {
mavenLocal()
jcenter()
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url "$rootDir/../node_modules/react-native/android"
}
maven {
url "http://tokbox.bintray.com/maven"
}
maven {
url "https://maven.google.com"
}
}
}

and here's the exception.

ERROR: In FontFamilyFont, unable to find attribute android:font
ERROR: In FontFamilyFont, unable to find attribute android:fontStyle
ERROR: In FontFamilyFont, unable to find attribute android:fontVariationSettings
ERROR: In FontFamilyFont, unable to find attribute android:fontWeight
ERROR: In FontFamilyFont, unable to find attribute android:ttcIndex
ERROR: In GradientColor, unable to find attribute android:endX
ERROR: In GradientColor, unable to find attribute android:endY
ERROR: In GradientColor, unable to find attribute android:startX
ERROR: In GradientColor, unable to find attribute android:startY
ERROR: In GradientColorItem, unable to find attribute android:offset

:react-native-braintree-xplat:processReleaseResources FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':react-native-braintree-xplat:processReleaseResources'.

com.android.ide.common.process.ProcessException: Failed to execute aapt

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant