#pawan-tripathi_code

1 messages ยท Page 1 of 1 (latest)

wanton portalBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1227330278557745242

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

nimble sageBOT
autumn apex
#

Hello
Did you run gradle build again after adding the SDK to your build.gradle file?

crimson furnace
#

yes

autumn apex
#

What error are you seeing?

crimson furnace
#

not resolved classes

autumn apex
#

Give me a moment, I'll try create a new test project and see if I can reproduce

crimson furnace
#

ok

#

can you sand me gradle implimention or should i send mine

autumn apex
#

I'm just creating a new project on android studio.

Can you share the gradle file you're modifying?
It is under the app folder correct?

crimson furnace
#

yes

autumn apex
#

thanks.. looking!

#

what happens if you try to import import com.stripe.android.paymentsheet manually?

crimson furnace
#

ok

autumn apex
#

Ah try import com.stripe.android.paymentsheet.PaymentSheet instead

crimson furnace
#

Unresolved reference: stripe

autumn apex
#

Hmm it works fine for me when I try with a new project

crimson furnace
#

wait

#

I am not using compse

#

in my project

#

can you send your gradel file to me

autumn apex
crimson furnace
#

without composse

autumn apex
#

hang on

crimson furnace
#

can you send me without copmpose

autumn apex
crimson furnace
#

distributionUrl=https://services.gradle.org/distributions/gradle-8.2-bin.zip

#

I am using this gradle version

autumn apex
#

I'm on 8.0 but that shouldn't really make a difference here

Can you try restarting your android studio?

crimson furnace
#

i am also doin rhe same

crimson furnace
#

can you import my gradle file in your project

#

there ?

autumn apex
#

I don't think it's an issue with the gradle file itself but mostly how it syncs

Can you try manually syncing the gradle files?

crimson furnace
#

did

#

same error

autumn apex
#

Hmm running out of ideas, can you try create a new sample project and see if it works there?

#

This would help isolate the issue to the project configuration

crimson furnace
#

ok

#

I will tri with same

#

will cooonect tomorrow again

#

can you try implement my gtale file in you project

#

and check if it is working

#

?

autumn apex
#

Currently running a gradle sync.. hang on

crimson furnace
#

ok

autumn apex
#

yup still works fine for me

crimson furnace
#

can you send me the both gradle file

#

module and app lavel

autumn apex
#

Hmm It's the same as your file, no difference..
What happens if you comment out all the other dependencies and just have stripe dependency present

crimson furnace
#

ok

#

let me chaek

#

can we cooncrt again tomoerrow

#

becauese its too late for me

#

i willl try the same

autumn apex
#

Sure. This chat will be closed but you can create a new thread when you come back and someone will be able to assist you

crimson furnace
#

ok

#

thanks