Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Caused by: java.lang.IllegalStateException: startRecording() called on an uninitialized AudioRecord

Tags:

android

I am getting error like start recording() called uninitialized audio recording in android 2.3.4 version mobile(LG),its working fine in android 2.2 but throwing error in android 2.3.

like image 967
sravanthi Avatar asked Aug 16 '12 08:08

sravanthi


1 Answers

Also, make sure that you have this permission set in your AndroidManifest.xml:

<uses-permission android:name="android.permission.RECORD_AUDIO" />

like image 69
Michael Litvin Avatar answered Nov 15 '22 03:11

Michael Litvin