After a fresh install receive classNotFound error on Android
taciomedeiros opened this issue · 0 comments
Expected Behavior
I/zygote ( 6749): at okhttp3.internal.platform.android.SocketAdapter okhttp3.internal.platform.android.ConscryptSocketAdapter.buildIfSupported() (ConscryptSocketAdapter.kt:64) I/zygote ( 6749): at void okhttp3.internal.platform.AndroidPlatform.<init>() (AndroidPlatform.kt:45) I/zygote ( 6749): at okhttp3.internal.platform.Platform okhttp3.internal.platform.AndroidPlatform$Companion.buildIfSupported() (AndroidPlatform.kt:239) I/zygote ( 6749): at okhttp3.internal.platform.Platform okhttp3.internal.platform.Platform$Companion.findPlatform() (Platform.kt:211) I/zygote ( 6749): at okhttp3.internal.platform.Platform okhttp3.internal.platform.Platform$Companion.access$findPlatform(okhttp3.internal.platform.Platform$Companion) (Platform.kt:179) I/zygote ( 6749): at void okhttp3.internal.platform.Platform.<clinit>() (Platform.kt:180) I/zygote ( 6749): at void okhttp3.OkHttpClient.<init>(okhttp3.OkHttpClient$Builder) (OkHttpClient.kt:219) I/zygote ( 6749): at void okhttp3.OkHttpClient.<init>() (OkHttpClient.kt:211) I/zygote ( 6749): at void com.amplitude.api.AmplitudeClient.lambda$initialize$0$AmplitudeClient(android.content.Context, java.lang.String, com.amplitude.api.AmplitudeClient) (AmplitudeClient.java:272) I/zygote ( 6749): at void com.amplitude.api.-$$Lambda$AmplitudeClient$9hxT9i3yp7eOymOvTMj42XcPKBs.run() (lambda:-1) I/zygote ( 6749): at void android.os.Handler.handleCallback(android.os.Message) (Handler.java:790) I/zygote ( 6749): at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:99) I/zygote ( 6749): at void android.os.Looper.loop() (Looper.java:164) I/zygote ( 6749): at void android.os.HandlerThread.run() (HandlerThread.java:65) I/zygote ( 6749): Caused by: java.lang.ClassNotFoundException: Didn't find class "org.conscrypt.ConscryptHostnameVerifier" on path: DexPathList[[zip file "/data/app/**removedpath**/base.apk"],nativeLibraryDirectories=[/data/app/**omitted**/lib/x86, /data/app/**ommited**/base.apk!/lib/x86, /system/lib, /vendor/lib]]
Current Behavior
After a fresh install in a emulator i received this error when i try to use init method
Possible Solution
I couldn't find
Steps to Reproduce
After a fresh install in a emulator i received this error when i try to use init method
Environment
- SDK Version:
- Flutter Version: v1.20.1
- Device: Nexus 5 Emulator
- Device OS and Version: Android 8.1.0