just-ai / aimybox-android-sdk

Voice assistant SDK for Android
https://aimybox.com
Apache License 2.0
74 stars 16 forks source link

App getting crashed frequently #102

Open bhargav015 opened 3 years ago

bhargav015 commented 3 years ago

Hello, We are using Aimybox from a while, But suddenly we start facing the issue of app crash very frequently with below error. Please help us as soon as possible

java.io.IOException: Read 0 bytes from recorder at com.justai.aimybox.recorder.AudioRecorder$startRecordingBytes$1.invokeSuspend(AudioRecorder.kt:100) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:764)

bgubanov commented 3 years ago

Hello. Can you provide version of Android? I suppose, exception is thrown when you try to activate speech recognizing? Please describe the issue in more detail