Comments (15)
This solution did not work for me, still getting same error.
from tipsi-stripe.
Thanks @dinesh8055, as far as I see, the most important part of the fail log is here:
C:\Users\gmoni\projects\stripe\node_modules\tipsi-stripe\android\src\main\java\com\gettipsi\stripe\StripeModule.java:13: error: cannot find symbol
import com.facebook.react.bridge.BaseActivityEventListener;
^
symbol: class BaseActivityEventListener
location: package com.facebook.react.bridge
C:\Users\gmoni\projects\stripe\node_modules\tipsi-stripe\android\src\main\java\com\gettipsi\stripe\CreditCardFormOnChangeEvent.java:18: error: no suitable constructor found for Event(int)
super(id);
^
constructor Event.Event() is not applicable
(actual and formal argument lists differ in length)
constructor Event.Event(int,long) is not applicable
(actual and formal argument lists differ in length)
C:\Users\gmoni\projects\stripe\node_modules\tipsi-stripe\android\src\main\java\com\gettipsi\stripe\StripeModule.java:77: error: cannot find symbol
private final ActivityEventListener mActivityEventListener = new BaseActivityEventListener() {
^
symbol: class BaseActivityEventListener
location: class StripeModule
3 errors
:tipsi-stripe:compileReleaseJavaWithJavac FAILEDFAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ':tipsi-stripe:compileReleaseJavaWithJavac'.Compilation failed; see the compiler error output for details.
- Try:
Run with --info or --debug option to get more log output.
@paynd can you please take a look what can be wrong?
@dinesh8055, by the way, is Stripe working for you for iOS?
from tipsi-stripe.
@paynd please take a look
from tipsi-stripe.
Hey @dinesh8055, is it full stacktrace? If not, please insert it as file (link).
Thanks
from tipsi-stripe.
@dinesh8055 did you try:
cd android && ./gradlew clean
before build?
from tipsi-stripe.
@Nepherhotep Here is the entire stack trace - stacktrace.txt
@isnifer Yes, I had tried that. Still gives me the same error
from tipsi-stripe.
@Nepherhotep No, I haven't tried for iOS. I don't have xcode
from tipsi-stripe.
@dinesh8055 is there any changes? Can I close the issue?
from tipsi-stripe.
@isnifer This issue is only on windows. It works perfectly fine on linux machine. I am closing it for now
from tipsi-stripe.
@dinesh8055 ok, fine
from tipsi-stripe.
Hi,
I got the same problem. I am using windows as my environment and currently can only test for android. I got error below. Any help?
C:\ITM\ak-localvirtualstore\node_modules\tipsi-stripe\android\src\main\java\com\gettipsi\stripe\StripeModule.java:13: error: cannot find symbol import com.facebook.react.bridge.BaseActivityEventListener; ^ symbol: class BaseActivityEventListener location: package com.facebook.react.bridge C:\ITM\ak-localvirtualstore\node_modules\tipsi-stripe\android\src\main\java\com\gettipsi\stripe\CreditCardFormOnChangeEvent.java:18: error: no suitable construct or found for Event(int) super(id); ^ constructor Event.Event() is not applicable (actual and formal argument lists differ in length) constructor Event.Event(int,long) is not applicable (actual and formal argument lists differ in length) C:\ITM\ak-localvirtualstore\node_modules\tipsi-stripe\android\src\main\java\com\gettipsi\stripe\StripeModule.java:77: error: cannot find symbol private final ActivityEventListener mActivityEventListener = new BaseActivityEventListener() { ^ symbol: class BaseActivityEventListener location: class StripeModule 3 errors :tipsi-stripe:compileReleaseJavaWithJavac FAILED
from tipsi-stripe.
Hi, @wapt49 please, ensure that android/build.gradle
has next lines:
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url "$rootDir/../node_modules/react-native/android"
}
Also run ./gradlew clean
inside the android/
directory and then build again.
from tipsi-stripe.
It's work. Many thanks :)
from tipsi-stripe.
@wapt49 nice to hear. I would recommend you add this step (clean) into your build process
from tipsi-stripe.
Do
rm -rm package-lock.json
rm -rm yarn-lock.js (if contains)
rm -rm node_modules
Then
yarn install or npm install
cd android/
./gradlew clean
and try build again
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.