react-native-audio-streaming icon indicating copy to clipboard operation
react-native-audio-streaming copied to clipboard

Attempt to invoke virtual method 'void android.widget.RemoteViews.setTextViewText

Open gHashTag opened this issue 8 years ago • 2 comments

Why my app has stopping in Android emulator?

07-04 04:40:04.270 12583-12954/com.isk E/AndroidRuntime: FATAL EXCEPTION: Thread-10
                                                         Process: com.isk, PID: 12583
                                                         java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.RemoteViews.setTextViewText(int, java.lang.CharSequence)' on a null object reference
                                                             at com.audioStreaming.Signal.playerMetadata(Signal.java:333)
                                                             at com.spoledge.aacdecoder.IcyInputStream.parseMetadata(IcyInputStream.java:231)
                                                             at com.spoledge.aacdecoder.IcyInputStream.fetchMetadata(IcyInputStream.java:205)
                                                             at com.spoledge.aacdecoder.IcyInputStream.read(IcyInputStream.java:133)
                                                             at com.spoledge.aacdecoder.BufferReader.run(BufferReader.java:155)
                                                             at java.lang.Thread.run(Thread.java:764)

bug mov

gHashTag avatar Jul 04 '17 01:07 gHashTag

+1

cinder92 avatar Oct 09 '17 17:10 cinder92

Working!

ReactNativeAudioStreaming.play(this.state.radioUrl, { showIniOSMediaCenter: true, showInAndroidNotifications: true}) All code: https://gist.github.com/gHashTag/8470794d2cf6343dc58b9eab76c5b5a8

gHashTag avatar Oct 13 '17 20:10 gHashTag