#PERF-react-native-GPay

1 messages ยท Page 1 of 1 (latest)

wary peak
#

Hi again @quartz verge!

quartz verge
#

๐Ÿ™‚

wary peak
#

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?

quartz verge
#

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.

wary peak
#

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?

quartz verge
#

let me re build

#

and let you know

wary peak
#

๐Ÿ‘

quartz verge
#

> 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

wary peak
#

Okay give me a sec to build it on my end

quartz verge
#

โค๏ธ

wary peak
#

Okay sorry

#

I actually got pulled away by something

#

Now going to build

quartz verge
#

yea the yarn android part isn't working

wary peak
#

kk

#

my yarn bootstrap taking forever

wary peak
#

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.