Fatal Exception on Android 10
IvanSheigets opened this issue · 2 comments
IvanSheigets commented
I tried to use VOICE_RECOGNITION and have next error:
E/MediaRecorder: start failed: -38
2020-12-04 15:22:47.547 4602-4774/../AndroidRuntime: FATAL EXCEPTION: newRecordingThread
Process:..., PID: 4602
java.lang.IllegalStateException
at android.media.MediaRecorder.start(Native Method)
at core.recorder.core.android_recorder.MyMediaRecorder.start(
If change the audio source to something else there is no error but no voice record
Deepa-Palani commented
call recording is working below android version 10 but it is not working for above android version 10 .please help me
PrakashGajera commented
Please add plugin in build.gradle file
apply plugin: 'kotlin-android'