java.lang.NoSuchMethodError: 'java.io.OutputStream com.google.devtools.ksp.processing.CodeGenerator.createNewFile$default(com.google.devtools.ksp.processing.CodeGenerator, com.google.devtools.ksp.processing.Dependencies, java.lang.String, java.lang.String, java.lang.String, int, java.lang.Object)' #1476
Closed as not planned
Description
opened on Feb 14, 2023
it was happened in using ksp
public fun FileSpec.writeTo(
codeGenerator: CodeGenerator,
dependencies: Dependencies
)
the exception stack is
java.lang.NoSuchMethodError: 'java.io.OutputStream com.google.devtools.ksp.processing.CodeGenerator.createNewFile$default(com.google.devtools.ksp.processing.CodeGenerator, com.google.devtools.ksp.processing.Dependencies, java.lang.String, java.lang.String, java.lang.String, int, java.lang.Object)'
at com.squareup.kotlinpoet.ksp.OriginatingKSFilesKt.writeTo(originatingKSFiles.kt:128)
kotlin version: 1.6.21
ksp version: 1.6.21-1.0.5
kotlinpoet version: 1.12.0
gradle: 7.2
Are the versions not suitable?
Activity