-
Notifications
You must be signed in to change notification settings - Fork 2
Description
2022-09-14 11:35:42.001 16382-16467/ai.deepar.photo_edit_example E/AndroidRuntime: FATAL EXCEPTION: ExampleHandlerThread
Process: ai.deepar.photo_edit_example, PID: 16382
java.lang.IllegalStateException: Method called from the thread that DeepAR was not initialized in. You must call this method from the same thread that you initialized DeepAR in (the same thread where you first call DeepAR.setRenderSurface()).
at ai.deepar.ar.DeepAR.checkValidState(DeepAR.java:659)
at ai.deepar.ar.DeepAR.receiveFrame(DeepAR.java:674)
at ai.deepar.photo_edit_example.LoadImageHandlerThread.uploadBitmapToDeepAR(LoadImageHandlerThread.java:148)
at ai.deepar.photo_edit_example.LoadImageHandlerThread.loadDefaultBitmap(LoadImageHandlerThread.java:90)
at ai.deepar.photo_edit_example.LoadImageHandlerThread$1.handleMessage(LoadImageHandlerThread.java:75)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:233)
at android.os.Looper.loop(Looper.java:334)
at android.os.HandlerThread.run(HandlerThread.java:67)