I have updated the com.google.protobuf:protoc version from 4.27.5 to 4.28.0 in my android project. The protobuf block has a defination like this
protobuf {
//dependency versions are defined under runtime-android/gradle/libs.versions.toml file
protoc { artifact = "com.google.protobuf:protoc:${libs.versions.protobuf.protoc.get().toString()}" }
plugins {
grpc { artifact = "io.grpc:protoc-gen-grpc-java:${libs.versions.grpc.java.get().toString()}" }
grpckt { artifact = "io.grpc:protoc-gen-grpc-kotlin:${libs.versions.grpc.kt.get().toString()}" }
}
generateProtoTasks {
all().each { task ->
task.dependsOn syncProtos
task.builtins {
java {
option("lite")
}
}
task.plugins {
grpc {
option("lite")
}
grpckt {
option("lite")
}
}
}
}
}
After building project I am getting error as
error: cannot find symbol private static final com.google.protobuf.Internal.IntListAdapter.IntConverter< ^ symbol: class IntListAdapter location: class Internal
What changed I need to do in dependencies or proto files to get rid of this error
I tried changing version of protobufKotlin & protobufJava but nothing worked