You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.
The short version is, would it be possible to rebuild the speech, and specifically streaming speech projects so they do not currently fail. Currently these samples are non functional because of changes to the android ecosystem.
The longer version is:
I have created a voice solution heavily based on the speech to text examples found in this repository. It has been working in a production environment for a while, but recently it has encountered crashing in newer android devices. The crashing seems to be related to
however these new versions have their own problems -
new Error after updating a number of various build.gradle plugins and repository versions
Execution failed for task ':generateDebugProto'.
protoc: stdout: . stderr: C:\Users\KQUINN\Programming\Node.js\React-Native\Meditech\mob_library_react_native_voice\src\android\build\extracted-protos\main\google\protobuf\any.proto: Input is shadowed in the --proto_path by "C:/Users/KQUINN/Programming/Node.js/React-Native/Meditech/mob_library_react_native_voice/src/android/build/extracted-include-protos/debug/google/protobuf/any.proto". Either use the latter file as your input or reorder the --proto_path so that the former file's location comes first.
If it is possible to update the samples that would be very helpful, as it could be used as a basis to update my own project. As it stands I only have a cursory understanding of protobuf files and the protobuf compilation process, so any assistance towards resolving protobuf compilation errors would be appreciated!
Thank You,
Kevin
The text was updated successfully, but these errors were encountered:
Hello,
The short version is, would it be possible to rebuild the speech, and specifically streaming speech projects so they do not currently fail. Currently these samples are non functional because of changes to the android ecosystem.
The longer version is:
I have created a voice solution heavily based on the speech to text examples found in this repository. It has been working in a production environment for a while, but recently it has encountered crashing in newer android devices. The crashing seems to be related to
grpc/grpc-java@5803dfd
however attempting to rebuild protobuf results in this error
an enum switch case label must be the unqualified name of an enumeration constant can be found in many of the proto generated files
cannot find symbol class Visitor
cannot find symbol variable MergeFromVisitor
build/generated/source/proto/debug/javalite/com/google/cloud/speech/v1/StreamingRecognizeResponse.java
........
This seems to be related to
https://stackoverflow.com/questions/59606918/cloud-speech-v1-streamingrecognizeresponse-error-an-enum-switch-case-label-mu
Which is referencing this ( https://github.com/GoogleCloudPlatform/android-docs-samples ) repository.
i was able to get the above error to resolve by making the following changes:
buildscript {
...
}
ext {
}
android {
}
dependencies {
...
}
protobuf {
however these new versions have their own problems -
new Error after updating a number of various build.gradle plugins and repository versions
Execution failed for task ':generateDebugProto'.
This last problem seems to be what is exactly described in
grpc-ecosystem/polyglot#110
If it is possible to update the samples that would be very helpful, as it could be used as a basis to update my own project. As it stands I only have a cursory understanding of protobuf files and the protobuf compilation process, so any assistance towards resolving protobuf compilation errors would be appreciated!
Thank You,
Kevin
The text was updated successfully, but these errors were encountered: