Closed jmimohsin closed 6 years ago
setCaptureSize() called in wrong state: 2
is class Visualizer
state error, setEnable(false)
after create new Visualizer instance which can fix this bug. you can use version v0.0.3.1
, code diff to see #8 .setScalingMode
is added since api 16, and the Nier-Visualizer library's minSdkVersion
is 19, so what is minSdkVersion
in your app? If this crash is still exist in >=19
device, please give me more information (brand, os version etc..) :DI have minSdkVersion 14 in my app.
but issue is coming mostly Android version 7 or 8 :)
One more :)
Fatal Exception: java.lang.IllegalArgumentException
at android.view.Surface.nativeUnlockCanvasAndPost(Surface.java)
at android.view.Surface.unlockSwCanvasAndPost(Surface.java:316)
at android.view.Surface.unlockCanvasAndPost(Surface.java:297)
at android.view.SurfaceView$4.unlockCanvasAndPost(SurfaceView.java:1011)
at me.bogerchan.niervisualizer.core.NierVisualizerRenderWorker.processUpdateFftEvent(Unknown Source)
at me.bogerchan.niervisualizer.core.NierVisualizerRenderWorker.processRenderEvent(Unknown Source)
at me.bogerchan.niervisualizer.core.NierVisualizerRenderWorker.scheduleNextRender(Unknown Source)
at me.bogerchan.niervisualizer.core.NierVisualizerRenderWorker$mRenderHandler$2$1.handleMessage(Unknown Source)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.os.HandlerThread.run(HandlerThread.java:61)
Please check it.
Thanks your feedback, I have been used some apis (>14) in this library and they are necessary, please ensure user device is >= 19
when enable Visualizer.
IllegalArgumentException
occurs when SurfaceView has been stoped but renderer is still working, I have been fixed it in #9 , please update version to v0.0.3.3
.
Please feedback if there are some problem else, Thanks again. :)
So all above issue fixed?
and 0.0.3.3 or 0.0.4?
Thanks for quick solution and reply.
Yep, 0.0.4
has been improved smoothness additionally. But JitPack has some problem now, I will update it after the server work fine. :)
Thanks a lot.
Hi,
I am using your library and got more than 1k bugs from different devices in crashlytics.
and second logcat:-
Other one...
Please check and let me know.