Skip to content

Error:Execution failed for task ':app:generateDebugProto'.Β #280

Closed
@qingdaofu1

Description

@qingdaofu1

i test the google cloud speech api in android studio. after i set the gradle,protobuf, and i compiling the project ,i got the problem like blow:

Error:Execution failed for task ':app:generateDebugProto'.

protoc: stdout: . stderr: D:\Android\A1\GoogleSpeech\app\build\extracted-protos\main: warning: directory does not exist.
D:\Android\A1\GoogleSpeech\app\src\debug\proto: warning: directory does not exist.
D:\Android\A1\GoogleSpeech\app\build\extracted-protos\debug: warning: directory does not exist.
D:\Android\A1\GoogleSpeech\app\build\extracted-include-protos\debug: warning: directory does not exist.
D:\Android\A1\GoogleSpeech\app\src\debug\proto: warning: directory does not exist.
D:\Android\A1\GoogleSpeech\app\build\extracted-protos\debug: warning: directory does not exist.
D:\Android\A1\GoogleSpeech\app\build\extracted-include-protos\debug: warning: directory does not exist.
[libprotobuf WARNING google/protobuf/descriptor.cc:6117] Warning: Unused import: "google/logging/v2/logging.proto" imports "google/rpc/status.proto" which is not used.
[libprotobuf WARNING google/protobuf/descriptor.cc:6117] Warning: Unused import: "google/logging/v2/logging_config.proto" imports "google/protobuf/timestamp.proto" which is not used.
--java_out: google/api/annotations.proto: Unknown generator option: lite

Metadata

Metadata

Assignees

No one assigned

    Labels

    🚨This issue needs some love.triage meI really want to be triaged.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions