Problem linking tipsi-stripe with rn 0.52.0
See original GitHub issueI keep running into compatibility issues with basic rn 0.52.0 installation
Version tipsi-stripe v5.2.0
Following Compilation Error when adding tipsi to the build:
C:\Users\piust\Documents\nightowl-mobile\android\app\build\intermediates\res\merged\debug\values-v24\values-v24.xml:3: AAPT: Error retrieving parent for item: No resource found that m
atches the given name 'android:TextAppearance.Material.Widget.Button.Borderless.Colored'.
app/build.gradle
compileSdkVersion 23
buildToolsVersion "23.0.1"
defaultConfig {
targetSdkVersion 22
....
dependencies {
compile project(':react-native-image-picker')
compile project(':react-native-fbsdk')
compile project(':open-gmail')
compile project(':tipsi-stripe')
compile fileTree(dir: "libs", include: ["*.jar"])
compile "com.android.support:appcompat-v7:23.0.1"
compile "com.facebook.react:react-native:+" // From node_modules
compile(project(':react-native-maps')){
exclude group: 'com.google.android.gms', module: 'play-services-base'
exclude group: 'com.google.android.gms', module: 'play-services-maps'
}
compile 'com.google.android.gms:play-services-base:+'
compile 'com.google.android.gms:play-services-maps:+'
}
build.gradle
allprojects {
repositories {
// Add jitpack repository (added by tipsi-stripe)
maven { url "https://jitpack.io" }
maven {
url 'https://maven.google.com/'
name 'Google'
}
mavenLocal()
jcenter()
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url "$rootDir/../node_modules/react-native/android"
}
configurations.all {
resolutionStrategy {
force 'com.facebook.android:facebook-android-sdk:4.22.1'
}
}
}
}
I tried upgrading build tools and other solutions from earlier tickets but ended up failing to fix it. Please help resolving this issue.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Tipsi stripe not working with android react native
A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade Android resource linking failed /Users/admin/.
Read more >Linking · tipsi-stripe
Automatically. Run react-native link tipsi-stripe so your project is linked against your Xcode project and all CocoaPods dependencies are installed.
Read more >hoxfon - Bountysource
I tried to complete a connect call from any user to client twilio (Andorid Device), but "deviceDidReceiveIncoming" not working.
Read more >tipsi-stripe - npm
React Native Stripe binding for iOS/Android platforms. Latest version: 10.0.0, last published: 6 months ago. Start using tipsi-stripe in ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I got the solution. As far as I understand I have different libraries that use different
com.google.android.gms
versions, so after upgrading to SDK version 26 the app crashed through overfitting the namespace with 2 libraries.Resolution was found here: https://github.com/react-community/react-native-maps/issues/1777#issuecomment-344138434
I solved it by adding resolutionStrategy to android/build.gradle
I have solved this https://github.com/tipsi/tipsi-stripe/issues/273#issuecomment-381341494 error by adding next strings into my
./android/build.gradle