Colton Idle
09/10/2020, 5:52 AMbuildFeatures {
compose true
}
composeOptions {
kotlinCompilerExtensionVersion MyVersions.compose_version //this id defined as val compose_version = "1.0.0-alpha02"
kotlinCompilerVersion '1.4.0'
}
I get an error when my app runs due to moshi/kotlin reflection?
E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.myapp.free, PID: 8768
kotlin.reflect.jvm.internal.KotlinReflectionInternalError: Could not compute caller for function: public constructor MyNetworkResponse(myFields...) defined in com.myapp.free.MyNetworkResponse[DeserializedClassConstructorDescriptor@aa293b] (member = null)
at kotlin.reflect.jvm.internal.KFunctionImpl$caller$2.invoke(KFunctionImpl.kt:89)
at kotlin.reflect.jvm.internal.KFunctionImpl$caller$2.invoke(KFunctionImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectProperties$LazyVal.invoke(ReflectProperties.java:62)
at kotlin.reflect.jvm.internal.ReflectProperties$Val.getValue(ReflectProperties.java:31)
at kotlin.reflect.jvm.internal.KFunctionImpl.getCaller(Unknown Source:7)
at kotlin.reflect.jvm.ReflectJvmMapping.getJavaMethod(ReflectJvmMapping.kt:63)
at kotlin.reflect.jvm.KCallablesJvm.setAccessible(KCallablesJvm.kt:82)
at com.squareup.moshi.kotlin.reflect.KotlinJsonAdapterFactory.create(KotlinJsonAdapter.kt:223)
at com.squareup.moshi.Moshi.nextAdapter(Moshi.java:172)
Has anyone come across this? I've looked in issuetracker to no avail.Brett Best
09/10/2020, 6:29 AMColton Idle
09/10/2020, 7:58 AMBrett Best
09/10/2020, 7:58 AMBrett Best
09/10/2020, 7:59 AMBrett Best
09/10/2020, 7:59 AM@Serializable
annotation in that moduleefemoney
09/10/2020, 9:49 AM1.10.0
)?Colton Idle
09/10/2020, 2:26 PM