Didn't find class "io.ktor.client.plugins.HttpTimeout"
Description of the bug:
Ktor version --> 3.0.3
Caused by java.lang.ClassNotFoundException
Didn't find class "io.ktor.client.plugins.HttpTimeout" on path: DexPathList[[zip file "/data/app/~~hBOfgr4uWljJgwYNP3oC3w==/com.cerasus.lingusai-eCImY03hNDgbdpwpEvzBpQ==/base.apk"],nativeLibraryDirectories=[/data/app/~~hBOfgr4uWljJgwYNP3oC3w==/com.cerasus.lingusai-eCImY03hNDgbdpwpEvzBpQ==/lib/arm64, /data/app/~~hBOfgr4uWljJgwYNP3oC3w==/com.cerasus.lingusai-eCImY03hNDgbdpwpEvzBpQ==/base.apk!/lib/arm64-v8a, /system/lib64, /system_ext/lib64]]
Actual vs expected behavior:
No response
Any other information you'd like to share?
No response
@akardas16 I faced the same issue. I resulted to downgrading my Ktor version from "3.0.0" to "2.3.2" and the error disappeared
Still problem exist : Version generative-ai 0.9.0 is using ktor 2.3.2 ClassNotFoundException: Didn't find class "io.ktor.client.plugins.HttpTimeout"
You may try https://github.com/PatilShreyas/generative-ai-kmp/releases/tag/v0.9.0-1.1.0
You may try https://github.com/PatilShreyas/generative-ai-kmp/releases/tag/v0.9.0-1.1.0
Thanks
@GeoSId did u solve the problem? im on the same situation
@rafton86 i move to other solution with my project but take a look of the above message may you will find useful
downgrading ktor-core version to 2.3.7 resolved the bug for me