Fatal Exception on CV Demo Project

cv-android

#1

Hey guys,
getting the following output when trying to launch the CV example on android. Any help is much appreciated. Haven’t changed anything from the source code. Just trying to get the example working.
Thanks!
Allen

FATAL EXCEPTION: BackgroundCameraThread
Process: eu.kudan.ar, PID: 5749
java.nio.BufferUnderflowException
at java.nio.Buffer.checkGetBounds(Buffer.java:171)
at java.nio.DirectByteBuffer.get(DirectByteBuffer.java:113)
at java.nio.ByteBuffer.get(ByteBuffer.java:376)
at eu.kudan.ar.CameraFragment$3.onImageAvailable(CameraFragment.java:285)
at android.media.ImageReader$ListenerHandler.handleMessage(ImageReader.java:648)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.os.HandlerThread.run(HandlerThread.java:61)