I was trying the rules_android with our setup, and when I tried building one of our android_binary targets, i i got this error:
Caused by: com.google.protobuf.RuntimeVersion$ProtobufRuntimeVersionException:
Detected incompatible Protobuf Gencode/Runtime versions when loading
com.google.devtools.build.android.proto.SerializeFormat$Header:
gencode 4.32.1, runtime 4.31.1.
Runtime version cannot be older than the linked gencode version.
I was able to "resolve" it by upgrading the following deps to 4.32.1:
com.google.protobuf:protobuf-java:4.31.1
com.google.protobuf:protobuf-java-util:4.31.1