Samsung Galaxy J7 don't work
OllisGit opened this issue · 0 comments
After starting the "HelloAR Java" on my Galaxy J7 with Android 7.0 a popup appers "Tango Core stopped".
The app shows the message "Searching for surfaces", but the camera is not active
I installed your "arcore-preview-modified.apk"
Compiled the "HelloAR" with the pached "arcore_client.aar"
And the debug-ouput looks like this:
11-21 19:57:30.131 25547-25547/com.google.ar.core.examples.java.helloar W/ActivityThread: Application com.google.ar.core.examples.java.helloar is waiting for the debugger on port 8100...
11-21 19:57:30.133 25547-25547/com.google.ar.core.examples.java.helloar I/System.out: Sending WAIT chunk
11-21 19:57:32.071 25547-25554/com.google.ar.core.examples.java.helloar I/art: Debugger is active
11-21 19:57:32.136 25547-25547/com.google.ar.core.examples.java.helloar I/System.out: Debugger has connected
11-21 19:57:32.137 25547-25547/com.google.ar.core.examples.java.helloar I/System.out: waiting for debugger to settle...
11-21 19:57:32.218 25547-25554/com.google.ar.core.examples.java.helloar I/art: Starting a blocking GC Instrumentation
11-21 19:57:32.337 25547-25547/com.google.ar.core.examples.java.helloar I/System.out: waiting for debugger to settle...
11-21 19:57:32.538 25547-25547/com.google.ar.core.examples.java.helloar I/System.out: waiting for debugger to settle...
11-21 19:57:32.739 25547-25547/com.google.ar.core.examples.java.helloar I/System.out: waiting for debugger to settle...
11-21 19:57:32.939 25547-25547/com.google.ar.core.examples.java.helloar I/System.out: waiting for debugger to settle...
11-21 19:57:33.140 25547-25547/com.google.ar.core.examples.java.helloar I/System.out: waiting for debugger to settle...
11-21 19:57:33.340 25547-25547/com.google.ar.core.examples.java.helloar I/System.out: waiting for debugger to settle...
11-21 19:57:33.541 25547-25547/com.google.ar.core.examples.java.helloar I/System.out: debugger has settled (1318)
11-21 19:57:33.553 25547-25547/com.google.ar.core.examples.java.helloar W/System: ClassLoader referenced unknown path: /data/app/com.google.ar.core.examples.java.helloar-1/lib/arm
11-21 19:57:33.580 25547-25554/com.google.ar.core.examples.java.helloar I/art: Starting a blocking GC Instrumentation
11-21 19:57:50.550 25547-25547/com.google.ar.core.examples.java.helloar W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
11-21 19:57:50.644 25547-25554/com.google.ar.core.examples.java.helloar I/art: Starting a blocking GC Instrumentation
11-21 19:57:55.939 25547-25547/com.google.ar.core.examples.java.helloar E/SupportedDevices: Device calibration unavailable. Just kidding! ;)
11-21 19:57:57.793 25547-25547/com.google.ar.core.examples.java.helloar D/Choreographer: init sf_choreo_doframe debug_Level : 0x4f4cdebug_game_running : false
11-21 19:57:57.807 25547-25547/com.google.ar.core.examples.java.helloar D/ViewRootImpl@a03a796[HelloArActivity]: ThreadedRenderer.create() translucent=false
11-21 19:57:57.812 25547-25547/com.google.ar.core.examples.java.helloar D/InputTransport: Input channel constructed: fd=62
11-21 19:57:57.814 25547-25547/com.google.ar.core.examples.java.helloar D/ViewRootImpl@a03a796[HelloArActivity]: setView = DecorView@b180f04[HelloArActivity] touchMode=true
11-21 19:57:57.817 25547-25547/com.google.ar.core.examples.java.helloar W/Session: pause() called on a paused session
11-21 19:57:57.848 25547-25547/com.google.ar.core.examples.java.helloar D/ViewRootImpl@a03a796[HelloArActivity]: dispatchAttachedToWindow
11-21 19:57:57.887 25547-25547/com.google.ar.core.examples.java.helloar D/ViewRootImpl@a03a796[HelloArActivity]: Relayout returned: oldFrame=[0,0][0,0] newFrame=[0,0][1080,1920] result=0x27 surface={isValid=true -512784384} surfaceGenerationChanged=true
11-21 19:57:57.893 25547-25547/com.google.ar.core.examples.java.helloar D/ViewRootImpl@a03a796[HelloArActivity]: mHardwareRenderer.initialize() mSurface={isValid=true -512784384} hwInitialized=true
11-21 19:57:58.356 25547-25947/com.google.ar.core.examples.java.helloar I/OpenGLRenderer: Initialized EGL, version 1.4
11-21 19:57:58.356 25547-25947/com.google.ar.core.examples.java.helloar D/OpenGLRenderer: Swap behavior 1
11-21 19:57:58.364 25547-25947/com.google.ar.core.examples.java.helloar D/mali_winsys: EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000, [1080x1920]-format:1
11-21 19:57:58.402 25547-25547/com.google.ar.core.examples.java.helloar D/SurfaceView: Relayout returned: oldFrame=[0,0][0,0] newFrame=[0,63][1080,1920] result=0x7 surface={Surface(name=null)/@0xf01b5b3 isValid=true -280821760}
11-21 19:57:58.411 25547-25547/com.google.ar.core.examples.java.helloar I/Choreographer: Skipped 32 frames! The application may be doing too much work on its main thread.
11-21 19:57:58.432 25547-25547/com.google.ar.core.examples.java.helloar D/ViewRootImpl@a03a796[HelloArActivity]: Relayout returned: oldFrame=[0,0][1080,1920] newFrame=[0,0][1080,1920] result=0x1 surface={isValid=true -512784384} surfaceGenerationChanged=false
11-21 19:57:58.449 25547-25547/com.google.ar.core.examples.java.helloar D/SurfaceView: Relayout returned: oldFrame=[0,63][1080,1920] newFrame=[0,63][1080,1920] result=0x1 surface={Surface(name=null)/@0xf01b5b3 isValid=true -280573952}
11-21 19:57:58.506 25547-25547/com.google.ar.core.examples.java.helloar D/ViewRootImpl@a03a796[HelloArActivity]: MSG_RESIZED_REPORT: frame=Rect(0, 0 - 1080, 1920) ci=Rect(0, 63 - 0, 0) vi=Rect(0, 63 - 0, 0) or=1
11-21 19:58:09.801 25547-25547/com.google.ar.core.examples.java.helloar E/SupportedDevices: Device calibration unavailable. Just kidding! ;)
11-21 19:58:09.803 25547-25547/com.google.ar.core.examples.java.helloar I/TangoClientLibLoader: Pure Java path, not loading libtango_client_api.so at all.
11-21 19:58:12.566 25547-25547/com.google.ar.core.examples.java.helloar I/ndk_camera: Starting native camera system initialization.
11-21 19:58:12.570 25547-25547/com.google.ar.core.examples.java.helloar D/ndk_camera: Camera 0 has 77 metadata tags
11-21 19:58:12.570 25547-25547/com.google.ar.core.examples.java.helloar E/ACameraMetadata: getConstEntry: cannot find metadata tag 851980
11-21 19:58:12.570 25547-25547/com.google.ar.core.examples.java.helloar W/ndk_camera: Failed to get metadata tag 851980 for camera 0 with error code -10004
11-21 19:58:12.570 25547-25547/com.google.ar.core.examples.java.helloar E/ACameraMetadata: getConstEntry: cannot find metadata tag 1310721
11-21 19:58:12.570 25547-25547/com.google.ar.core.examples.java.helloar W/ndk_camera: Failed to get metadata tag 1310721 for camera 0 with error code -10004
11-21 19:58:12.570 25547-25547/com.google.ar.core.examples.java.helloar E/ACameraMetadata: getConstEntry: cannot find metadata tag 1638401
11-21 19:58:12.570 25547-25547/com.google.ar.core.examples.java.helloar W/ndk_camera: Failed to get metadata tag 1638401 for camera 0 with error code -10004
11-21 19:58:12.571 25547-25547/com.google.ar.core.examples.java.helloar D/ndk_camera: Camera 1 has 76 metadata tags
11-21 19:58:12.571 25547-25547/com.google.ar.core.examples.java.helloar E/ACameraMetadata: getConstEntry: cannot find metadata tag 851980
11-21 19:58:12.571 25547-25547/com.google.ar.core.examples.java.helloar W/ndk_camera: Failed to get metadata tag 851980 for camera 1 with error code -10004
11-21 19:58:12.571 25547-25547/com.google.ar.core.examples.java.helloar E/ACameraMetadata: getConstEntry: cannot find metadata tag 1310721
11-21 19:58:12.571 25547-25547/com.google.ar.core.examples.java.helloar W/ndk_camera: Failed to get metadata tag 1310721 for camera 1 with error code -10004
11-21 19:58:12.571 25547-25547/com.google.ar.core.examples.java.helloar E/ACameraMetadata: getConstEntry: cannot find metadata tag 1638401
11-21 19:58:12.571 25547-25547/com.google.ar.core.examples.java.helloar W/ndk_camera: Failed to get metadata tag 1638401 for camera 1 with error code -10004
11-21 19:58:12.571 25547-25547/com.google.ar.core.examples.java.helloar I/ndk_camera: Camera system initialized successfully with 2 cameras.
11-21 19:58:12.571 25547-25547/com.google.ar.core.examples.java.helloar W/tango_camera_native_jni: Camera system initilized.
11-21 19:58:12.571 25547-25547/com.google.ar.core.examples.java.helloar E/tango_camera_native: 2 is not a valid camera index.
11-21 19:58:12.571 25547-25547/com.google.ar.core.examples.java.helloar E/tango_camera_native: 3 is not a valid camera index.
11-21 19:58:12.589 25547-25547/com.google.ar.core.examples.java.helloar I/tango_camera_native_jni: Attaching texture_window 0xd0cff008
11-21 19:58:12.590 25547-25547/com.google.ar.core.examples.java.helloar D/TangoVhs: about to bind as vhs
11-21 19:58:12.617 25547-25547/com.google.ar.core.examples.java.helloar D/TangoVhs: finished bind as vhs
11-21 19:58:12.629 25547-25945/com.google.ar.core.examples.java.helloar D/mali_winsys: EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000, [1080x1857]-format:1
11-21 19:58:12.634 25547-25547/com.google.ar.core.examples.java.helloar D/ViewRootImpl@a03a796[HelloArActivity]: MSG_WINDOW_FOCUS_CHANGED 1
11-21 19:58:12.637 25547-25547/com.google.ar.core.examples.java.helloar D/ViewRootImpl@a03a796[HelloArActivity]: mHardwareRenderer.initializeIfNeeded()#2 mSurface={isValid=true -512784384}
11-21 19:58:12.643 25547-25547/com.google.ar.core.examples.java.helloar V/InputMethodManager: Starting input: tba=android.view.inputmethod.EditorInfo@a2631db nm : com.google.ar.core.examples.java.helloar ic=null
11-21 19:58:12.643 25547-25547/com.google.ar.core.examples.java.helloar I/InputMethodManager: [IMM] startInputInner - mService.startInputOrWindowGainedFocus
11-21 19:58:12.663 25547-25634/com.google.ar.core.examples.java.helloar D/InputTransport: Input channel constructed: fd=76
11-21 19:58:12.720 25547-25547/com.google.ar.core.examples.java.helloar D/ViewRootImpl@a03a796[HelloArActivity]: Relayout returned: oldFrame=[0,0][1080,1920] newFrame=[0,0][1080,1920] result=0x1 surface={isValid=true -512784384} surfaceGenerationChanged=false
11-21 19:58:12.788 25547-25547/com.google.ar.core.examples.java.helloar D/SurfaceView: Relayout returned: oldFrame=[0,63][1080,1920] newFrame=[0,0][1080,1920] result=0x21 surface={Surface(name=null)/@0xf01b5b3 isValid=true -791676928}
11-21 19:58:14.243 25547-25552/com.google.ar.core.examples.java.helloar I/art: Do partial code cache collection, code=30KB, data=29KB
11-21 19:58:14.243 25547-25552/com.google.ar.core.examples.java.helloar I/art: After code cache collection, code=30KB, data=29KB
11-21 19:58:14.243 25547-25552/com.google.ar.core.examples.java.helloar I/art: Increasing code cache capacity to 128KB
11-21 19:58:16.404 25547-25945/com.google.ar.core.examples.java.helloar D/mali_winsys: EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000, [1080x1920]-format:1
11-21 19:58:16.419 25547-25547/com.google.ar.core.examples.java.helloar V/InputMethodManager: Starting input: tba=android.view.inputmethod.EditorInfo@e86a445 nm : com.google.ar.core.examples.java.helloar ic=null
11-21 19:58:16.421 25547-25547/com.google.ar.core.examples.java.helloar I/Choreographer: Skipped 220 frames! The application may be doing too much work on its main thread.
11-21 19:58:16.467 25547-25547/com.google.ar.core.examples.java.helloar D/ViewRootImpl@a03a796[HelloArActivity]: MSG_RESIZED: frame=Rect(0, 0 - 1080, 1920) ci=Rect(0, 63 - 0, 0) vi=Rect(0, 63 - 0, 0) or=1
11-21 19:58:16.469 25547-25547/com.google.ar.core.examples.java.helloar D/ViewRootImpl@a03a796[HelloArActivity]: MSG_WINDOW_FOCUS_CHANGED 0
11-21 19:58:16.512 25547-25547/com.google.ar.core.examples.java.helloar D/ViewRootImpl@a03a796[HelloArActivity]: Relayout returned: oldFrame=[0,0][1080,1920] newFrame=[0,0][1080,1920] result=0x1 surface={isValid=true -512784384} surfaceGenerationChanged=false
11-21 19:58:30.413 25547-25552/com.google.ar.core.examples.java.helloar I/art: Do partial code cache collection, code=60KB, data=62KB
11-21 19:58:30.413 25547-25552/com.google.ar.core.examples.java.helloar I/art: After code cache collection, code=57KB, data=59KB
11-21 19:58:30.413 25547-25552/com.google.ar.core.examples.java.helloar I/art: Increasing code cache capacity to 256KB
Any Idea?
BR
Olli