androidthings / sample-googleassistant

Google Assistant API sample for Android Things
Apache License 2.0
467 stars 147 forks source link

BUILD FAILED #37

Closed sachindroid8 closed 7 years ago

sachindroid8 commented 7 years ago

Hi, I am facing this issue here. The old sample app used to build without any issues and I can see now the voicehat directory and gRPC directories are added. Please advice.

Error:Execution failed for task ':grpc:generateReleaseProto'.

protoc: stdout: . stderr: /Users/Documents/DEVWorskspace/ANDROID THINGS/ANDROID THINGS PROJECTS/Google Assistant/sample-googleassistant/grpc/build/extracted-protos/main: warning: directory does not exist. /Users/Documents/DEVWorskspace/ANDROID THINGS/ANDROID THINGS PROJECTS/Google Assistant/sample-googleassistant/grpc/build/extracted-include-protos/main: warning: directory does not exist. /Users/Documents/DEVWorskspace/ANDROID THINGS/ANDROID THINGS PROJECTS/Google Assistant/sample-googleassistant/grpc/src/release/proto: warning: directory does not exist. /Users/Documents/DEVWorskspace/ANDROID THINGS/ANDROID THINGS PROJECTS/Google Assistant/sample-googleassistant/grpc/build/extracted-protos/release: warning: directory does not exist. /Users/Documents/DEVWorskspace/ANDROID THINGS/ANDROID THINGS PROJECTS/Google Assistant/sample-googleassistant/grpc/build/extracted-include-protos/release: warning: directory does not exist. /Users/Documents/DEVWorskspace/ANDROID THINGS/ANDROID THINGS PROJECTS/Google Assistant/sample-googleassistant/grpc/src/release/proto: warning: directory does not exist. /Users/Documents/DEVWorskspace/ANDROID THINGS/ANDROID THINGS PROJECTS/Google Assistant/sample-googleassistant/grpc/build/extracted-protos/release: warning: directory does not exist. /Users/Documents/DEVWorskspace/ANDROID THINGS/ANDROID THINGS PROJECTS/Google Assistant/sample-googleassistant/grpc/build/extracted-include-protos/release: warning: directory does not exist. google/api/http.proto: File not found. google/protobuf/descriptor.proto: File not found. api/annotations.proto: Import "google/api/http.proto" was not found or had errors. api/annotations.proto: Import "google/protobuf/descriptor.proto" was not found or had errors. api/annotations.proto:28:8: "google.protobuf.MethodOptions" is not defined.

Fleker commented 7 years ago

There was a small bug that popped up in a recent change. It will be fixed soon.

You'll need to move the protos from sample-googleassistant https://github.com/androidthings/sample-googleassistant?files=1 /grpc https://github.com/androidthings/sample-googleassistant/tree/master/grpc/ src https://github.com/androidthings/sample-googleassistant/tree/master/grpc/src /main https://github.com/androidthings/sample-googleassistant/tree/master/grpc/src/main /proto to sample-googleassistant https://github.com/androidthings/sample-googleassistant?files=1/grpc https://github.com/androidthings/sample-googleassistant/tree/master/grpc/ src https://github.com/androidthings/sample-googleassistant/tree/master/grpc/src /main https://github.com/androidthings/sample-googleassistant/tree/master/grpc/src/main /proto/google

On Aug 8, 2017 5:29 AM, "Sachin" notifications@github.com wrote:

Hi, I am facing this issue here. The old sample app used to build without any issues and I can see now the voicehat directory and gRPC directories are added. Please advice.

Error:Execution failed for task ':grpc:generateReleaseProto'.

protoc: stdout: . stderr: /Users/sachinkumar/Documents/DEVWorskspace/ANDROID THINGS/ANDROID THINGS PROJECTS/Google Assistant/sample- googleassistant/grpc/build/extracted-protos/main: warning: directory does not exist. /Users/sachinkumar/Documents/DEVWorskspace/ANDROID THINGS/ANDROID THINGS PROJECTS/Google Assistant/sample-googleassistant/grpc/build/extracted-include-protos/main: warning: directory does not exist. /Users/sachinkumar/Documents/DEVWorskspace/ANDROID THINGS/ANDROID THINGS PROJECTS/Google Assistant/sample-googleassistant/grpc/src/release/proto: warning: directory does not exist. /Users/sachinkumar/Documents/DEVWorskspace/ANDROID THINGS/ANDROID THINGS PROJECTS/Google Assistant/sample-googleassistant/grpc/build/extracted-protos/release: warning: directory does not exist. /Users/sachinkumar/Documents/DEVWorskspace/ANDROID THINGS/ANDROID THINGS PROJECTS/Google Assistant/sample-googleassistant/grpc/build/ extracted-include-protos/release: warning: directory does not exist. /Users/sachinkumar/Documents/DEVWorskspace/ANDROID THINGS/ANDROID THINGS PROJECTS/Google Assistant/sample-googleassistant/grpc/src/release/proto: warning: directory does not exist. /Users/sachinkumar/Documents/DEVWorskspace/ANDROID THINGS/ANDROID THINGS PROJECTS/Google Assistant/sample-googleassistant/grpc/build/extracted-protos/release: warning: directory does not exist. /Users/sachinkumar/Documents/DEVWorskspace/ANDROID THINGS/ANDROID THINGS PROJECTS/Google Assistant/sample-googleassistant/grpc/build/ extracted-include-protos/release: warning: directory does not exist. google/api/http.proto: File not found. google/protobuf/descriptor.proto: File not found. api/annotations.proto: Import "google/api/http.proto" was not found or had errors. api/annotations.proto: Import "google/protobuf/descriptor.proto" was not found or had errors. api/annotations.proto:28:8: "google.protobuf.MethodOptions" is not defined.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/androidthings/sample-googleassistant/issues/37, or mute the thread https://github.com/notifications/unsubscribe-auth/ADI588B6wgAX3AtE9IjOd_kSbBODlL9xks5sWFSfgaJpZM4OwqYP .

Fleker commented 7 years ago

This is fixed in commit 66a72976ae5c60894e39a75d56a8a6888cb7a3f5