Comments (9)
OK, reinstalling android sdk seems to solve the issue... (although there's another problem now :p)
from tipsi-stripe.
and android/build.gradle
:
$ cat android/build.gradle
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.5.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
// Add jitpack repository (added by tipsi-stripe)
maven { url "https://jitpack.io" }
mavenLocal()
jcenter()
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url "$rootDir/../node_modules/react-native/android"
}
}
}
from tipsi-stripe.
@paynd please take a look
from tipsi-stripe.
Hi @Qsys , are you sure that your android buildtools (25.0.0) installed properly? I've tried to reproduce this case, its looks like you got an issue with buildtools. What buildtools version is in your build.gradle?
from tipsi-stripe.
android buildtools 25.0.0 seems to be installed.
I did change the buildtools version in build.gradle before, didn't work out fine. I'll try again later.
from tipsi-stripe.
same with:
$ cat android/app/build.gradle
apply plugin: "com.android.application"
import com.android.build.OutputFile
/**
< ... >
*/
apply from: "../../node_modules/react-native/react.gradle"
/**
< ... >
*/
def enableSeparateBuildPerCPUArchitecture = false
/**
* Run Proguard to shrink the Java bytecode in release builds.
*/
def enableProguardInReleaseBuilds = false
android {
compileSdkVersion 23
buildToolsVersion "25.0.0"
defaultConfig {
applicationId < app-id >
minSdkVersion 16
targetSdkVersion 22
versionCode 1
versionName "1.0"
< ... >
}
< ... >
}
dependencies {
compile project(':tipsi-stripe')
< ... >
}
// Run this once to be able to run the application with BUCK
// puts all compile dependencies into folder libs for BUCK to use
task copyDownloadableDepsToLibs(type: Copy) {
from configurations.compile
into 'libs'
}
from tipsi-stripe.
same error when changing compileSdkVersion
to 25:
$ cat android/app/build.gradle
< ... >
android {
compileSdkVersion 25
buildToolsVersion "25.0.0"
< ... >
}
< ... >
from tipsi-stripe.
And same error when I set compile "com.android.support:appcompat-v7:25.0.1"
(instead of 23.0.1
) in dependencies of build.gradle
from tipsi-stripe.
I'm glad that it helped!
from tipsi-stripe.
Related Issues (20)
- null is not an object evaluating (StripeModule.init ) react native ios HOT 1
- Google Play Store: Your app includes non compliant SDK version (com.stripe:stripe-android:10.4.6) HOT 5
- Google Pay: Request Failed - Unexpected Developer Error, please try again later (test mode for integration-checklist) HOT 1
- After upgrade 8.0.2 to 9.0.0 version error showing in ios HOT 3
- Archive failed with ld: library not found for -lPods-*** after upgrading from 8.0.0 to 9.1.0 HOT 4
- After upgrading to 9.1.3 createTokenWithBankAccount() not working HOT 4
- Apple Pay Issue HOT 1
- which folder drag the following folder into? HOT 1
- Duplicate class bouncycastle HOT 3
- card.brand not returned in createTokenWithCard on Android HOT 1
- Google Pay Integration HOT 1
- do we need certificate to use paymentRequestWithNativePay HOT 1
- authenticatePaymentIntent on connect account iOS not working on 3DS cards HOT 1
- Task :tipsi-stripe:processDebugAndroidTestManifest FAILED HOT 1
- Application hangs when I try to add the card details. HOT 2
- Showing "Manifest merge failed error" HOT 15
- This project is not maintained. Please use the official library @stripe/stripe-react-native HOT 2
- Can't build app with xcode 14 HOT 4
- CocoaPods could not find compatible versions for pod "Stripe". HOT 4
- TPSStripe/TPSCardField.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'tipsi-stripe' from project 'Pods') HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tipsi-stripe.