Open jaumard opened 6 years ago
Just testing this library on Android things with Raspberry pi 3 and CameraV2 and got this.
TextureView not displayed because it is too large to fit into a software layer (or drawing cache), needs 17743872 bytes, only 7179264 available
My layout is really basic (copy paste from readme):
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent"> <com.google.android.cameraview.CameraView android:id="@+id/camera" android:layout_width="match_parent" android:layout_height="wrap_content" android:keepScreenOn="true" android:adjustViewBounds="true" app:autoFocus="true" app:aspectRatio="4:3" app:facing="back" app:flash="auto"/> </LinearLayout>
Just testing this library on Android things with Raspberry pi 3 and CameraV2 and got this.
TextureView not displayed because it is too large to fit into a software layer (or drawing cache), needs 17743872 bytes, only 7179264 available
My layout is really basic (copy paste from readme):