jsierles / react-native-audio

Audio recorder library for React Native
MIT License
1.16k stars 539 forks source link

Cannot Recording on Android #318

Closed Arthuzuga closed 4 years ago

Arthuzuga commented 5 years ago

Version

react-native-audio : ^4.3.0 react-native : 0.58.5 react : 16.6.3 using react-native-sound ? Yes (^0.10.12)

Expected behaviour : startRecording

What were you trying to do and what did you expect to happen ? Android: I'm trying to press my TouchableOpacity to start the recording, and start to Recording iOS: Works fine

Actual behaviour

Captura de Tela 2019-03-15 às 18 08 05

What happened when your issue occurred ? The more details you provide here the better the odds are that someone will help you resolve your issue

i cannot start the recording, and if if dismiss the error i cannot stop

Steps to reproduce

Create a TouchableOpacity and press to startRecording on Androind

aJIEw commented 5 years ago

it's hard to tell what's the root of this error from the screenshot you uploaded, maybe you can provide the native error logs from Android Studio so there might be more useful information.

hossamnasser938 commented 5 years ago

I'm experiencing the same Error, and here it is from Android Studio. E/unknown:ReactNative: Exception in native call com.facebook.jni.UnknownCppException: Unknown at com.facebook.react.bridge.CatalystInstanceImpl.jniLoadScriptFromAssets(Native Method) at com.facebook.react.bridge.CatalystInstanceImpl.loadScriptFromAssets(CatalystInstanceImpl.java:218) at com.facebook.react.bridge.JSBundleLoader$1.loadScript(JSBundleLoader.java:31) at com.facebook.react.bridge.CatalystInstanceImpl.runJSBundle(CatalystInstanceImpl.java:247) at com.facebook.react.ReactInstanceManager.createReactContext(ReactInstanceManager.java:1152) at com.facebook.react.ReactInstanceManager.access$900(ReactInstanceManager.java:123) at com.facebook.react.ReactInstanceManager$5.run(ReactInstanceManager.java:943) at java.lang.Thread.run(Thread.java:818)

chuanhaisoft commented 4 years ago

same error ,rn0.61.5

chuanhaisoft commented 4 years ago

it is ok on v4.3.1