java.lang.RuntimeException: ImageReaderContext is not initialized
at android.media.ImageReader.nativeImageSetup(Native Method)
at android.media.ImageReader.acquireNextSurfaceImage(ImageReader.java:298)
at android.media.ImageReader.acquireNextImageNoThrowISE(ImageReader.java:279)
at android.media.ImageReader.acquireLatestImage(ImageReader.java:254)
at com.stardust.autojs.core.image.ScreenCapturer.lambda$setImageListener$0$ScreenCapturer(ScreenCapturer.java:99)
at com.stardust.autojs.core.image.ScreenCapturer$$Lambda$0.onImageAvailable(Unknown Source)
at android.media.ImageReader$ListenerHandler.handleMessage(ImageReader.java:548)
at android.os.Handler.dispatchMessage(Handler.java:111)
at android.os.Looper.loop(Looper.java:224)
at com.stardust.autojs.core.looper.Loopers.lambda$initServantThread$1$Loopers(Loopers.java:67)
at com.stardust.autojs.core.looper.Loopers$$Lambda$0.run(Unknown Source)
at java.lang.Thread.run(Thread.java:818)
Description:
java.lang.RuntimeException: ImageReaderContext is not initialized at android.media.ImageReader.nativeImageSetup(Native Method) at android.media.ImageReader.acquireNextSurfaceImage(ImageReader.java:298) at android.media.ImageReader.acquireNextImageNoThrowISE(ImageReader.java:279) at android.media.ImageReader.acquireLatestImage(ImageReader.java:254) at com.stardust.autojs.core.image.ScreenCapturer.lambda$setImageListener$0$ScreenCapturer(ScreenCapturer.java:99) at com.stardust.autojs.core.image.ScreenCapturer$$Lambda$0.onImageAvailable(Unknown Source) at android.media.ImageReader$ListenerHandler.handleMessage(ImageReader.java:548) at android.os.Handler.dispatchMessage(Handler.java:111) at android.os.Looper.loop(Looper.java:224) at com.stardust.autojs.core.looper.Loopers.lambda$initServantThread$1$Loopers(Loopers.java:67) at com.stardust.autojs.core.looper.Loopers$$Lambda$0.run(Unknown Source) at java.lang.Thread.run(Thread.java:818)
Device info: