Closed MounikaV45 closed 2 years ago
Hi @MounikaV45 , could you try invalidate caches and restart
, and probably share your gradle file if it still persists? I tried to have the following two in a sample android app and it's able to build correctly.
implementation 'com.stripe:stripe-android:18.2.0'
implementation "com.google.dagger:hilt-android:2.35"
Hi @MounikaV45 , could you try
invalidate caches and restart
, and probably share your gradle file if it still persists? I tried to have the following two in a sample android app and it's able to build correctly.implementation 'com.stripe:stripe-android:18.2.0' implementation "com.google.dagger:hilt-android:2.35"
Yeah, I have done all the possible ways like invalidate caches and restart, rebuild, sync project sort of things. My build file is: yes, I am using the same gradle implementations that you have mentioned.
implementation "com.google.dagger:hilt-android:2.35"
kapt "com.google.dagger:hilt-compiler:2.35"
implementation 'com.stripe:stripe-android:18.2.0'
Hi @MounikaV45 , I have just put up a sample app here: https://github.com/ccen-stripe/daggerTest, it is based off the vanilla Android studio's "Basic Activity" App, plus a String injected using hilt in MainActivity
, and a Stripe's PaymentLauncher being initialized there.
The app has being using latest hilt version 2.38.1
as per hilt's official site, otherwise it's the same setup as yours.
It is building fine, please see if there's any difference between your app with this one:)
Thank you so much for your response. I will check that.Thanks & Regards,Mounika,8019592257. ---- On Fri, 03 Dec 2021 22:34:33 +0530 @.*** wrote ---- Hi @MounikaV45 , I have just put up a sample app here: https://github.com/ccen-stripe/daggerTest, it is based off the vanilla Android studio's "Basic Activity" App, plus a String injected using hilt in MainActivity, and a Stripe's PaymentLauncher being initialized there. The app has being using latest hilt version 2.38.1 as per hilt's official site, otherwise it's the same setup as yours. It is building fine, please see if there's any difference between your app with this one:)
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android.
PeopleLink Unified Communications Pvt. Ltd.
Winner "Best Video Conference Solution" by Times Business Awards 2020
HO : A3-Q3, 10th Floor, Cyber Towers, Hitech City, Madhapur, Hyderabad - 500081, India
Global Presence : USA, Canada, Middle East, Nigeria, South Africa, West Indies & more...
Contact WhatsApp : +91-9100123013
Website : www.peoplelinkvc.com | www.instavc.com
Disclaimer:
The information contained herein (including any accompanying documents) is confidential and is intended solely for the addressee(s). If you have erroneously received this message, please immediately delete it and notify the sender. Any disclosure, copying, distribution or on the contents of this message or any accompanying document is strictly prohibited and is unlawful. The organization is not responsible for any damage caused by a virus or alteration of the e-mail by a third party or otherwise. The contents of this message may not necessarily represent the views or policies of "PeopleLink Unified Communications Pvt. Ltd."
Hi Chen,
Thank you so much for the sample code, now I am able to build the app successfully without any issues.
Thanks & Regards,
Mounika,
8019592257.
---- On Fri, 03 Dec 2021 22:34:33 +0530 Chen Cen @.***> wrote ----
Hi https://github.com/MounikaV45 , I have just put up a sample app here: https://github.com/ccen-stripe/daggerTest, it is based off the vanilla Android studio's "Basic Activity" App, plus a String https://github.com/ccen-stripe/daggerTest/blob/ef0e76c78f8127e685077ea4f4f693860b29a63f/app/src/main/java/com/example/daggertest/MainActivity.kt#L28 using hilt in MainActivity, and a Stripe's https://github.com/ccen-stripe/daggerTest/blob/ef0e76c78f8127e685077ea4f4f693860b29a63f/app/src/main/java/com/example/daggertest/MainActivity.kt#L50 being initialized there.
The app has being https://github.com/ccen-stripe/daggerTest/blob/ef0e76c78f8127e685077ea4f4f693860b29a63f/app/build.gradle#L41 latest hilt version 2.38.1 as per hilt's https://developer.android.com/training/dependency-injection/hilt-android, otherwise it's the same setup as yours. It is building fine, please see if there's any difference between your app with this one:) — You are receiving this because you were mentioned. Reply to this email directly, https://github.com/stripe/stripe-android/issues/4427#issuecomment-985682261, or https://github.com/notifications/unsubscribe-auth/AWDKVB7ARAV3EGLODPCYCT3UPD2CDANCNFSM5JEGXSNA. Triage notifications on the go with GitHub Mobile for https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. PeopleLink Unified Communications Pvt. Ltd.
Winner "Best Video Conference Solution" by Times Business Awards 2020
HO : A3-Q3, 10th Floor, Cyber Towers, Hitech City, Madhapur, Hyderabad - 500081, India
Global Presence : USA, Canada, Middle East, Nigeria, South Africa, West Indies & more...
Contact WhatsApp : +91-9100123013
Website : www.peoplelinkvc.com | www.instavc.com
Disclaimer:
The information contained herein (including any accompanying documents) is confidential and is intended solely for the addressee(s). If you have erroneously received this message, please immediately delete it and notify the sender. Any disclosure, copying, distribution or on the contents of this message or any accompanying document is strictly prohibited and is unlawful. The organization is not responsible for any damage caused by a virus or alteration of the e-mail by a third party or otherwise. The contents of this message may not necessarily represent the views or policies of "PeopleLink Unified Communications Pvt. Ltd."
Hi,
When i am integrating stripe in my project which also has dagger implementation, I am facing issues in dagger libraries.
Stripe implementation : implementation 'com.stripe:stripe-android:18.2.0' dagger : implementation "com.google.dagger:hilt-android:2.35"![Screenshot 2021-12-01 at 4 50 01 PM](https://user-images.githubusercontent.com/92711559/144225634-eb368ac1-b7d1-4c38-baa5-37d201f567a4.png)
import dagger.internal.MemoizedSentinel; ^ symbol: class MemoizedSentinel location: package dagger.internal
I face this issue only after i add stripe implementation in my gradle. Can someone please help me in resolving the issue. Thanks in advance