Android MediaRecorder start failed in invalid state 4
问题 I try to record the audio, only the audio, and I get this error on android 4.1.2 but not on 4.3: Here is the code: private void startRecord(){ on_record = true; final boolean exists = (new File(Environment.getExternalStorageDirectory() + File.separator + NOTAY)).exists(); if (!exists) {new File(Environment.getExternalStorageDirectory() + File.separator + "Test").mkdirs();} final boolean existAud = (new File(android.os.Environment.getExternalStorageDirectory() + File.separator + NOTAY + File