#nasar-android-sdk

1 messages · Page 1 of 1 (latest)

molten oracle
#

hello, not sure I know off hand how to solve this but going to ask a few qs

unborn raven
#

yes ..

molten oracle
#

can you take a step back, fire up a fresh project and add stripe-android:17.1.2 into it and build that? like does that work?

trying to isolate other dependencies

unborn raven
#

if other depedency cause some error then why 16 version work fine ??

#

and aslo if i change androidx.core:core-ktx:1.5.0 to androidx.core:core-ktx:1.6.0 ... same error produce by gradel ?? which makes me thinks some campatibility issue in stripe sdk that causing error ??

molten oracle
#

it might be, I'm not super fluent with Android dependencies in general so bear with me here

unborn raven
#

ok..

molten oracle
#

ok so did you try on a fresh repo? I know it works on v16 and v17.x.x might lead to problems, I'm trying to make sure v17.x.x does even on a fresh repo as well.

unborn raven
#

yes i tried on fresh repo ... but same result ...

#

but my code base was same ...

molten oracle
#

yeah so I know the code base is the same but the issue seems to be that the SDK used a different version of Kotlin but your app is using a different version ... so still thinking about what could get it to woek

unborn raven
#

can you share what kotlin version SDK is using ?? so i can test it weather it work or not ??

molten oracle
#

what is your ext.kotlin_version in your gradle file?

unborn raven
#

mine is ext.kotlin_version = '1.3.61'

molten oracle
#

can you change that to 1.4.32 and sync gradle and try that?

unborn raven
#

yes try it ... but i got this error
Execution failed for task ':app:kaptAcceptanceDebugKotlin'.

A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptExecution
java.lang.reflect.InvocationTargetException (no error message)

molten oracle
#

ok so different error

unborn raven
#

yes ..

molten oracle
#

is this all on a fresh app? or your codebase which has other dependencies

unborn raven
#

my code base which has other depedences ...

molten oracle
#

let's try to do this on a fresh app only

#

to isolate against other dependencies

#

it is hard to solve it with n dependencies but easier to reason against 1 so we know where the problems are originating from

unborn raven
#

ok ..