#pawan-tripathi_code
1 messages ยท Page 1 of 1 (latest)
๐ 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.
Hello
Did you run gradle build again after adding the SDK to your build.gradle file?
yes
What error are you seeing?
Give me a moment, I'll try create a new test project and see if I can reproduce
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?
thanks.. looking!
what happens if you try to import import com.stripe.android.paymentsheet manually?
ok
Ah try import com.stripe.android.paymentsheet.PaymentSheet instead
Unresolved reference: stripe
Hmm it works fine for me when I try with a new project
wait
I am not using compse
in my project
can you send your gradel file to me
Its pretty much default what android studio generates
without composse
hang on
can you send me without copmpose
yup still works fine for me
distributionUrl=https://services.gradle.org/distributions/gradle-8.2-bin.zip
I am using this gradle version
I'm on 8.0 but that shouldn't really make a difference here
Can you try restarting your android studio?
i am also doin rhe same
yes did but same error
can you import my gradle file in your project
there ?
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?
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
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
?
Currently running a gradle sync.. hang on
ok
yup still works fine for me
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
ok
let me chaek
can we cooncrt again tomoerrow
becauese its too late for me
i willl try the same
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