#PERF-react-native-GPay
1 messages ยท Page 1 of 1 (latest)
๐
You caught us when I'm online again ๐
So, catch me up on the latest.
I believe your build failed last time when trying to build the sample, correct?
yes
i recently got a new macbook though.
I was previously using a non-M1 mac if that mattered. I have an M1 one now.
I'm jealous. But no, don't think that should matter here really.
Okay so I still think building the sample would be a great next step if that's possible
What build error are you hitting exactly?
๐
> Task :reactnativestripesdk:compileDebugKotlin FAILED
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
android/src/main/java/com/reactnativestripesdk/PaymentSheetFragment.kt: (166, 35): Unresolved reference: id
error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.
Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081
going to attempt to build via android studio
idk how to build this thing :/
sorry
the guide to build it isn't really that clear and i don't really know all the things surrounding android build logic
Okay give me a sec to build it on my end
โค๏ธ
Okay sorry
I actually got pulled away by something
Now going to build
Just to check, did you follow the steps here: https://github.com/stripe/stripe-react-native/blob/master/CONTRIBUTING.md
yea the yarn android part isn't working
Hrmm okay weird I got mine working after tweaking a couple things in gradle even though I'm hitting some similar exceptions.
Can you share your build.gradle inside your example/android/app directory?
Also when you come back around @quartz verge, go ahead and open just the Example/Android folder in Android Studio and click build at the top and open up the "Build" tab at the bottom. Let me know if you get the same output that you mentioned above when building this way.
We'll try one or two things to get this working, and if not the next step is for us to correspond over email and you can provide me your project which I can then work with someone with an Android device internally to debug the exact Google Pay error you are seeing.
I'm just stuck unfortunately since I don't have an Android device.