kraffslol / react-native-braintree-xplat

Cross-platform Braintree module for React Native
MIT License
81 stars 121 forks source link

Android build error #112

Open rogerarce opened 5 years ago

rogerarce commented 5 years ago

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

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