0

I am getting the errors

google/api/http.proto: File not found
google/protobuf/descriptor.proto: File not found

when trying to generate the .java files for embedded_assistant.proto. I am using the Protobuf Plugin for Gradle for Android.

Where do I find the descriptor.proto file as I do not find it anywhere on the Google API github page.

David
  • 171
  • 2
  • 10

1 Answers1

0

The missing descriptor.proto for Android is protobuf issue 1889. The workaround is to add a protobuf dependency on the full protobuf library:

dependencies {
  protobuf 'com.google.protobuf:protobuf-java:3.4.0'
}
Eric Anderson
  • 24,057
  • 5
  • 55
  • 76