namiml / nami-android

Easy Android subscriptions & in-app purchases, with powerful no-code paywalls and A/B testing.
https://www.nami.ml
Other
16 stars 1 forks source link

issue with compileOptions for JavaVersion.VERSION_21 in latest nami sdk #78

Closed vishalmakwana8 closed 1 week ago

vishalmakwana8 commented 1 week ago

Hi, I am using latest android studio ladybug version. For this I am using latest Gradle 8.9 and Java version 21. After updating latest version 3.2.7.

I am facing below error. Can you provide the any resolution to fix this issue? same issue facing for 3.2.6.

Screenshot 2024-11-03 at 2 54 44 PM
namidan commented 1 week ago

HI @vishalmakwana8

It looks like you need to add the core de-sugaring library per this doc: https://learn.namiml.com/public-docs/integrations/billing-platforms/google-integration/troubleshooting/supporting-android-minsdkversion-25-or-lower

vishalmakwana8 commented 1 week ago

Hi @namidan, Thank you for your response. This solution is working fine for me.