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
I'm trying to run the QuicksampleStart file. I did it on Eclipse. it gives these errors:
Did you change the file? If so, how?
Describe the issue
Exception in thread "main" java.lang.Error: Unresolved compilation problems:
SpeechClient cannot be resolved to a type
SpeechClient cannot be resolved
ByteString cannot be resolved to a type
ByteString cannot be resolved
RecognitionConfig cannot be resolved to a type
RecognitionConfig cannot be resolved
AudioEncoding cannot be resolved to a variable
RecognitionAudio cannot be resolved to a type
RecognitionAudio cannot be resolved
RecognizeResponse cannot be resolved to a type
SpeechRecognitionResult cannot be resolved to a type
SpeechRecognitionResult cannot be resolved to a type
SpeechRecognitionAlternative cannot be resolved to a type
SpeechRecognitionAlternative cannot be resolved to a type
at speechTest.QuickstartSample.main(QuickstartSample.java:25)
I recommend you try building / running from the command line using the instructions in README.MD to get to a working state before trying to configure your IDE for execution.
Activity
gguuss commentedon Jul 26, 2017
How are you installing the dependencies, e.g. are you running the following command:
and
Before running
I recommend you try building / running from the command line using the instructions in
README.MDto get to a working state before trying to configure your IDE for execution.trishav96 commentedon Jul 27, 2017
I didn't do any of that
gguuss commentedon Aug 1, 2017
@trishav96 Please try following the instructions for building the sample using Maven. If you must build the sample using Eclipse, the following settings will help:
Edit your maven build configurations by clicking the Green Run button

Add a configuration for building

Add a configuration for running

Note that for the Maven extension to work, you must have Eclipse configured to find the JAVA_HOME environment variable as appropriate.
nnegrey commentedon Dec 5, 2018
This appears to have been resolved. Please feel free to reopen if this is not true. :)
chore(deps): update dependency com.google.cloud:libraries-bom to v24.…