You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know if this version of android is supported or not.
I have an old tablet (Akai TAB-7800Q) with a custom Android 4.4.2 and I decided to try octo4a if it works on that tablet. This device has a separated barrel jack connector for charging, so I think it could be a good choice for OctoPrint if it runs on it.
The custom Android doesn't recognize my camera and as I see in the logs the app crashes because it can't connect to camera service. It instantly crashes when I start the app.
I'm using octo4a version 2.1.0.
I've seen a similar error in #97 and someone said that it's fixed, but it looks like it's not fixed or the error came back. (or this is different)
I couldn't find the stock Android for this tablet and I don't have a backup, so I'm out of luck.
Logcat logs:
08-16 18:20:03.241 I/ActivityManager( 455): Start proc com.octo4a for activity com.octo4a/.ui.InitialActivity: pid=4225 uid=10060 gids={50060, 3003, 1028, 1015}
08-16 18:20:03.681 I/MultiDex( 4225): VM with version 1.6.0 does not have multidex support
08-16 18:20:03.721 I/MultiDex( 4225): Installing application
08-16 18:20:03.721 I/MultiDex( 4225): MultiDexExtractor(/data/app/com.octo4a-1.apk, /data/data/com.octo4a/code_cache/secondary-dexes)
08-16 18:20:03.741 I/MultiDex( 4225): Blocking on lock /data/data/com.octo4a/code_cache/secondary-dexes/MultiDex.lock
08-16 18:20:03.741 I/MultiDex( 4225): /data/data/com.octo4a/code_cache/secondary-dexes/MultiDex.lock locked
08-16 18:20:03.741 I/MultiDex( 4225): MultiDexExtractor.load(/data/app/com.octo4a-1.apk, false, )
08-16 18:20:03.751 I/MultiDex( 4225): loading existing secondary dex files
08-16 18:20:03.771 I/MultiDex( 4225): load found 1 secondary dex files
08-16 18:20:03.791 I/MultiDex( 4225): install done
08-16 18:20:04.011 D/BatteryService( 455): wanglei --> mBatteryProps.batteryTemperature = 300
08-16 18:20:04.011 D/PowerManagerService( 455): mHoldBootFastWakeLock = true
08-16 18:20:04.091 D/dalvikvm( 4225): GC_CONCURRENT freed 1871K, 30% free 4659K/6572K, paused 2ms+1ms, total 23ms
08-16 18:20:04.101 I/wpa_supplicant( 640): [CTRL_IFACE]wlan0: SIGNAL_POLL
08-16 18:20:04.381 D/dalvikvm( 4225): GC_CONCURRENT freed 1957K, 30% free 4688K/6684K, paused 1ms+1ms, total 19ms
08-16 18:20:04.511 D/dalvikvm( 4225): GC_FOR_ALLOC freed 445K, 27% free 4942K/6724K, paused 22ms, total 22ms
08-16 18:20:04.701 I/[Koin] ( 4225): [init] declare Android Context
08-16 18:20:04.731 I/[Koin] ( 4225): loaded 15 definitions - 1.230583 ms
08-16 18:20:04.871 I/dalvikvm( 4225): Failed resolving Landroidx/core/view/ViewCompat$2; interface 579 'Landroid/view/View$OnUnhandledKeyEventListener;'
08-16 18:20:04.871 W/dalvikvm( 4225): Link of class 'Landroidx/core/view/ViewCompat$2;' failed
08-16 18:20:04.871 D/dalvikvm( 4225): DexOpt: unable to opt direct call 0x563e at 0x1c in Landroidx/core/view/ViewCompat;.addOnUnhandledKeyEventListener
08-16 18:20:04.871 I/dalvikvm( 4225): Failed resolving Landroidx/core/view/ViewCompat$1; interface 569 'Landroid/view/View$OnApplyWindowInsetsListener;'
08-16 18:20:04.871 W/dalvikvm( 4225): Link of class 'Landroidx/core/view/ViewCompat$1;' failed
08-16 18:20:04.871 D/dalvikvm( 4225): DexOpt: unable to opt direct call 0x563c at 0x0f in Landroidx/core/view/ViewCompat;.setOnApplyWindowInsetsListener
08-16 18:20:04.881 D/dalvikvm( 4225): DexOpt: unable to opt direct call 0x0c2d at 0x00 in Landroidx/constraintlayout/widget/ConstraintLayout;.<init>
08-16 18:20:04.931 D/dalvikvm( 4225): GC_FOR_ALLOC freed 748K, 21% free 5498K/6924K, paused 22ms, total 22ms
08-16 18:20:04.971 D/dalvikvm( 4225): DexOpt: unable to opt direct call 0x0599 at 0x11 in Lcom/google/android/material/card/MaterialCardViewHelper;.createForegroundRippleDrawable
08-16 18:20:05.001 I/dalvikvm( 4225): DexOpt: unable to optimize static field ref 0x017e at 0x19 in Landroidx/appcompat/widget/AppCompatTextClassifierHelper;.getTextClassifier
08-16 18:20:05.031 D/dalvikvm( 4225): DexOpt: unable to opt direct call 0x0599 at 0x6f in Lcom/google/android/material/button/MaterialButtonHelper;.createBackground
08-16 18:20:05.141 D/dalvikvm( 4225): DexOpt: couldn't find static field Landroid/hardware/camera2/CameraCharacteristics;.SENSOR_INFO_PIXEL_ARRAY_SIZE
08-16 18:20:05.141 I/dalvikvm( 4225): DexOpt: unable to optimize static field ref 0x00d6 at 0x48 in Lcom/octo4a/camera/CameraEnumerationRepository;.enumerateCameras
08-16 18:20:05.141 D/dalvikvm( 4225): DexOpt: couldn't find static field Landroid/hardware/camera2/CameraCharacteristics;.LENS_FACING
08-16 18:20:05.141 I/dalvikvm( 4225): DexOpt: unable to optimize static field ref 0x00d0 at 0x61 in Lcom/octo4a/camera/CameraEnumerationRepository;.enumerateCameras
08-16 18:20:05.141 D/dalvikvm( 4225): DexOpt: couldn't find static field Landroid/hardware/camera2/CameraCharacteristics;.SCALER_STREAM_CONFIGURATION_MAP
08-16 18:20:05.141 I/dalvikvm( 4225): DexOpt: unable to optimize static field ref 0x00d4 at 0x69 in Lcom/octo4a/camera/CameraEnumerationRepository;.enumerateCameras
08-16 18:20:05.141 D/dalvikvm( 4225): DexOpt: couldn't find static field Landroid/hardware/camera2/CameraCharacteristics;.CONTROL_AE_AVAILABLE_TARGET_FPS_RANGES
08-16 18:20:05.141 I/dalvikvm( 4225): DexOpt: unable to optimize static field ref 0x00c5 at 0x71 in Lcom/octo4a/camera/CameraEnumerationRepository;.enumerateCameras
08-16 18:20:05.141 D/dalvikvm( 4225): DexOpt: couldn't find static field Landroid/os/Build;.SUPPORTED_64_BIT_ABIS
08-16 18:20:05.141 I/dalvikvm( 4225): DexOpt: unable to optimize static field ref 0x0110 at 0x08 in Lcom/octo4a/utils/ExtensionsKt;.is64Bit
08-16 18:20:05.141 D/dalvikvm( 4225): DexOpt: couldn't find static field Landroid/os/Build;.SUPPORTED_64_BIT_ABIS
08-16 18:20:05.141 I/dalvikvm( 4225): DexOpt: unable to optimize static field ref 0x0110 at 0x0c in Lcom/octo4a/utils/ExtensionsKt;.is64Bit
08-16 18:20:05.151 D/HALCameraFactory( 131): Calling process is: com.octo4a
08-16 18:20:05.151 D/HALCameraFactory( 131): Calling process is: com.octo4a
08-16 18:20:05.151 D/HALCameraFactory( 131): Calling process is: com.octo4a
08-16 18:20:05.151 I/AwesomePlayer( 131): setDataSource_l(URL suppressed)
08-16 18:20:05.171 I/AwesomePlayer( 131): setDataSource_l(URL suppressed)
08-16 18:20:05.191 I/CameraClient( 131): Opening camera 0
08-16 18:20:05.191 D/HALCameraFactory( 131): Calling process is: com.octo4a
08-16 18:20:05.191 D/V4L2CameraDevice( 131): V4L2CameraDevice::openCameraDev
08-16 18:20:05.191 D/HALCameraFactory( 131): Calling process is: com.octo4a
08-16 18:20:05.191 E/V4L2CameraDevice( 131): VIDIOC_S_INPUT error!
08-16 18:20:05.191 E/V4L2CameraDevice( 131): AWHLABEL#camera#connectDevice:open-FAIL!
08-16 18:20:05.191 E/HALCameraFactory( 131): cameraDeviceOpen: Unable to connect camera
08-16 18:20:05.191 E/CameraClient( 131): Could not open camera 0: -22
08-16 18:20:05.191 E/CameraClient( 131): initialize: Camera 0: unable to initialize device: Invalid argument (-22)
08-16 18:20:05.191 I/CameraClient( 131): Destroying camera 0
08-16 18:20:05.191 W/AudioFlinger( 131): session id 163 not found for pid 4225
08-16 18:20:05.191 W/AudioFlinger( 131): session id 164 not found for pid 4225
08-16 18:20:05.191 W/CameraBase( 4225): An error occurred while connecting to camera: 0
08-16 18:20:05.191 D/AndroidRuntime( 4225): Shutting down VM
08-16 18:20:05.191 W/dalvikvm( 4225): threadid=1: thread exiting with uncaught exception (group=0x41712560)
08-16 18:20:05.191 E/AndroidRuntime( 4225): FATAL EXCEPTION: main
08-16 18:20:05.191 E/AndroidRuntime( 4225): Process: com.octo4a, PID: 4225
08-16 18:20:05.191 E/AndroidRuntime( 4225): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.octo4a/com.octo4a.ui.InitialActivity}: java.lang.RuntimeException: Fail to connect to camera service
08-16 18:20:05.191 E/AndroidRuntime( 4225): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2195)
08-16 18:20:05.191 E/AndroidRuntime( 4225): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)
08-16 18:20:05.191 E/AndroidRuntime( 4225): at android.app.ActivityThread.access$800(ActivityThread.java:135)
08-16 18:20:05.191 E/AndroidRuntime( 4225): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
08-16 18:20:05.191 E/AndroidRuntime( 4225): at android.os.Handler.dispatchMessage(Handler.java:102)
08-16 18:20:05.191 E/AndroidRuntime( 4225): at android.os.Looper.loop(Looper.java:136)
08-16 18:20:05.191 E/AndroidRuntime( 4225): at android.app.ActivityThread.main(ActivityThread.java:5017)
08-16 18:20:05.191 E/AndroidRuntime( 4225): at java.lang.reflect.Method.invokeNative(Native Method)
08-16 18:20:05.191 E/AndroidRuntime( 4225): at java.lang.reflect.Method.invoke(Method.java:515)
08-16 18:20:05.191 E/AndroidRuntime( 4225): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
08-16 18:20:05.191 E/AndroidRuntime( 4225): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
08-16 18:20:05.191 E/AndroidRuntime( 4225): at dalvik.system.NativeStart.main(Native Method)
08-16 18:20:05.191 E/AndroidRuntime( 4225): Caused by: java.lang.RuntimeException: Fail to connect to camera service
08-16 18:20:05.191 E/AndroidRuntime( 4225): at android.hardware.Camera.native_setup(Native Method)
08-16 18:20:05.191 E/AndroidRuntime( 4225): at android.hardware.Camera.<init>(Camera.java:350)
08-16 18:20:05.191 E/AndroidRuntime( 4225): at android.hardware.Camera.open(Camera.java:309)
08-16 18:20:05.191 E/AndroidRuntime( 4225): at com.octo4a.camera.CameraEnumerationRepository.enumerateCameras(CameraEnumerationRepository.kt:88)
08-16 18:20:05.191 E/AndroidRuntime( 4225): at com.octo4a.ui.InitialActivity.prepareBootstrap(InitialActivity.kt:144)
08-16 18:20:05.191 E/AndroidRuntime( 4225): at com.octo4a.ui.InitialActivity.onCreate(InitialActivity.kt:123)
08-16 18:20:05.191 E/AndroidRuntime( 4225): at android.app.Activity.performCreate(Activity.java:5231)
08-16 18:20:05.191 E/AndroidRuntime( 4225): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
08-16 18:20:05.191 E/AndroidRuntime( 4225): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2159)
08-16 18:20:05.191 E/AndroidRuntime( 4225): ... 11 more
08-16 18:20:05.201 W/ActivityManager( 455): Force finishing activity com.octo4a/.ui.InitialActivity
08-16 18:20:05.501 I/WindowManager( 455): Screenshot max retries 4 of Token{421ec380 ActivityRecord{421ec220 u0 com.octo4a/.ui.InitialActivity t26 f}} appWin=Window{42313908 u0 Starting com.octo4a} drawState=4
08-16 18:20:05.501 W/WindowManager( 455): Screenshot failure taking screenshot for (1024x600) to layer 21015
08-16 18:20:06.011 W/ActivityManager( 455): Activity pause timeout for ActivityRecord{421ec220 u0 com.octo4a/.ui.InitialActivity t26 f}
08-16 18:20:06.491 D/audio_hw_primary( 131): out_standby
08-16 18:20:06.561 I/ActivityManager( 455): Timeline: Activity_windows_visible id: com.android.launcher time:2508054
08-16 18:20:07.111 I/wpa_supplicant( 640): [CTRL_IFACE]wlan0: SIGNAL_POLL
08-16 18:20:07.331 D/BatteryService( 455): wanglei --> mBatteryProps.batteryTemperature = 300
08-16 18:20:08.691 V/audio_hw_primary( 131): start_output_stream, line: 739
08-16 18:20:08.691 V/codec_audio_pad( 131): headset on is: 0, headphone on is: 0, speaker on is : 2
08-16 18:20:08.691 V/codec_audio_pad( 131): in normal mode, headset or speaker on,****LINE:112,FUNC:set_normal_path
08-16 18:20:08.691 V/audio_hw_primary( 131): normal mode , speaker,****LINE:664,FUNC:select_output_device
08-16 18:20:08.691 V/audio_hw_primary( 131): start_output_stream: card:0, port:0, rate:44100
08-16 18:20:08.691 D/alsa_pcm( 131): pcm_open:,sparams.stop_threshold:2000, config->stop_threshold:0
08-16 18:20:08.691 V/audio_hw_primary( 131): do not use out resampler
08-16 18:20:08.701 I/Process ( 4225): Sending signal. PID: 4225 SIG: 9
08-16 18:20:08.761 W/InputMethodManagerService( 455): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@422e7fe0 attribute=null, token = android.os.BinderProxy@41ea2fc0
08-16 18:20:08.991 I/ActivityManager( 455): Process com.octo4a (pid 4225) has died.
The text was updated successfully, but these errors were encountered:
I don't know if this version of android is supported or not.
I have an old tablet (Akai TAB-7800Q) with a custom Android 4.4.2 and I decided to try octo4a if it works on that tablet. This device has a separated barrel jack connector for charging, so I think it could be a good choice for OctoPrint if it runs on it.
The custom Android doesn't recognize my camera and as I see in the logs the app crashes because it can't connect to camera service. It instantly crashes when I start the app.
I'm using octo4a version 2.1.0.
I've seen a similar error in #97 and someone said that it's fixed, but it looks like it's not fixed or the error came back. (or this is different)
I couldn't find the stock Android for this tablet and I don't have a backup, so I'm out of luck.
Logcat logs:
The text was updated successfully, but these errors were encountered: