Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
When I click on the button its showing only 1st changed color and the color does not change after multiple hits. Why so?
I have written the exact code written by you but when I click on the button the color changes for the first time but then only the facts change and color remains as it is. Why is this happening? There is no error shown in the code.
This is coming in logcat: 2019-06-20 16:28:10.179 2416-1499/? W/ErrorProcessor: onFatalError, processing error from engine(4) com.google.android.apps.gsa.shared.speech.b.g: Error reading from input stream at com.google.android.apps.gsa.staticplugins.recognizer.j.a.a(SourceFile:28) at com.google.android.apps.gsa.staticplugins.recognizer.j.b.run(SourceFile:15) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:457) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at com.google.android.apps.gsa.shared.util.concurrent.a.ax.run(SourceFile:14) at com.google.android.apps.gsa.shared.util.concurrent.a.bl.run(SourceFile:4) Caused by: com.google.android.apps.gsa.shared.exception.GsaIOException: Error code: 393238 | Buffer overflow, no available space. at com.google.android.apps.gsa.speech.audio.Tee.f(SourceFile:103) at com.google.android.apps.gsa.speech.audio.au.read(SourceFile:2) at java.io.InputStream.read(InputStream.java:101) at com.google.android.apps.gsa.speech.audio.ao.run(SourceFile:18)
Can you please guide me with this?
Hi. Could you please share your code?Without it, it's difficult to help you