tomthecarrot / arcore-for-all

Google ARCore (dev preview 1) for "unsupported" Android devices
GNU General Public License v3.0
1.04k stars 145 forks source link

Nubia z11(Android 7.1.1) doesn't work #84

Open emrek1 opened 6 years ago

emrek1 commented 6 years ago

I have nubia z11 and upgraded it to android 7.1.1

Tried unity tutorial in this link https://developers.google.com/ar/develop/unity/getting-started Downloaded Unity 2017.3 The created apk crashed. Then I tried your sample.apk and it crashed in a similar way, they both gave the same error:

jni_helper.cc:19 'vm' Must be non NULL

Now I will try Unity 2017.2(didn't work either)

here is the stacktrace:

10-16 15:54:55.060 16603-16622/? I/TangoClientLibLoader: Pure Java path, not loading libtango_client_api.so at all. 10-16 15:54:55.063 3086-3086/? D/ZLauncher3: [Launcher] onStop 10-16 15:54:55.064 16603-16622/? W/System: in loadDexFile: /data/app/com.google.tango-1/base.apk 10-16 15:54:55.067 16603-16622/? D/ApplicationLoaders: ignored Vulkan layer search path /data/app/com.google.tango-1/lib/arm:/system/fake-libs:/data/app/com.google.tango-1/base.apk!/lib/armeabi-v7a for namespace 0xf1cd7090 10-16 15:54:55.077 16603-16622/? I/ndk_camera: Starting native camera system initialization. 10-16 15:54:55.079 16603-16622/? I/ndk_camera: Zero cameras detected. Camera system initialization complete 10-16 15:54:55.079 16603-16622/? W/tango_camera_native_jni: Camera system initilized. 10-16 15:54:55.079 16603-16622/? E/tango_camera_native: 0 is not a valid camera index. 10-16 15:54:55.079 16603-16622/? E/tango_camera_native: 1 is not a valid camera index. 10-16 15:54:55.079 16603-16622/? E/tango_camera_native: 2 is not a valid camera index. 10-16 15:54:55.079 16603-16622/? E/tango_camera_native: 3 is not a valid camera index. 10-16 15:54:55.083 16603-16622/? I/tango_camera_native_jni: Attaching texture_window 0xd1c1c008 10-16 15:54:55.083 16603-16622/? D/TangoVhs: about to bind as vhs 10-16 15:54:55.084 1580-2664/? D/ActivityManager: [NBSelfStart] P2: pkg = com.google.tango, process = com.google.tango 10-16 15:54:55.084 1580-2664/? D/ActivityManager: [NBSelfStart] bindService P1: Pid = 16603, Uid = 10153 pkgList ={com.tomthecarrot.helloar=com.android.internal.app.procstats.ProcessStats$ProcessStateHolder@aa51f7a}, P2_service = ComponentInfo{com.google.tango/com.google.atap.tango.TangoVirtualHalService} 10-16 15:54:55.084 1580-2664/? D/NubiaSelfStartUtil: Not allow packageName==com.google.tango from bindservice autostart 10-16 15:54:55.084 1580-2664/? D/ActivityManager: [NBSelfStart] forbid starting ComponentInfo{com.google.tango/com.google.atap.tango.TangoVirtualHalService} 10-16 15:54:55.084 16603-16622/? D/TangoVhs: finished bind as vhs 10-16 15:54:55.086 1580-15954/? D/ActivityManager: [NBSelfStart] P2: pkg = com.google.tango, process = com.google.tango 10-16 15:54:55.086 1580-15954/? D/ActivityManager: [NBSelfStart] bindService P1: Pid = 16603, Uid = 10153 pkgList ={com.tomthecarrot.helloar=com.android.internal.app.procstats.ProcessStats$ProcessStateHolder@aa51f7a}, P2_service = ComponentInfo{com.google.tango/com.google.atap.tango.TangoService} 10-16 15:54:55.086 1580-15954/? D/NubiaSelfStartUtil: Not allow packageName==com.google.tango from bindservice autostart 10-16 15:54:55.086 1580-15954/? D/ActivityManager: [NBSelfStart] forbid starting ComponentInfo{com.google.tango/com.google.atap.tango.TangoService} 10-16 15:54:55.086 16603-16622/? D/Unity: [VFS] Mount /data/app/com.tomthecarrot.helloar-1/base.apk 10-16 15:54:55.092 16603-16622/? D/Unity: Player data archive not found at /data/app/com.tomthecarrot.helloar-1/base.apk/assets/bin/Data/data.unity3d, using local filesystem 10-16 15:54:55.102 16603-16622/? I/Unity: SystemInfo CPU = ARMv7 VFPv3 NEON, Cores = 4, Memory = 3780mb 10-16 15:54:55.102 16603-16622/? I/Unity: SystemInfo ARM big.LITTLE configuration: 4 big (mask: 15), 0 little (mask: 0) 10-16 15:54:55.103 16603-16622/? I/Unity: ApplicationInfo com.tomthecarrot.helloar version 1.0 build 901f7406-84a6-4e8c-992a-a800c4e16ae3 10-16 15:54:55.103 16603-16622/? D/Unity: Player data archive not found at /data/app/com.tomthecarrot.helloar-1/base.apk/assets/bin/Data/data.unity3d, using local filesystem 10-16 15:54:55.103 16603-16622/? D/Unity: [EGL] Attaching window :0xe1ee4808 10-16 15:54:55.105 16603-16622/? D/Unity: Unable to find library path for 'monobdwgc-2.0'. 10-16 15:54:55.107 16603-16622/? D/Unity: Mono path[0] = '/data/app/com.tomthecarrot.helloar-1/base.apk/assets/bin/Data/Managed' 10-16 15:54:55.107 16603-16622/? D/Unity: Mono config path = 'assets/bin/Data/Managed/etc' 10-16 15:54:55.108 16603-16622/? D/Unity: PlayerConnection initialized from /data/app/com.tomthecarrot.helloar-1/base.apk/assets/bin/Data (debug = 0) 10-16 15:54:55.108 16603-16622/? D/Unity: PlayerConnection initialized network socket : 0.0.0.0 55485 10-16 15:54:55.108 16603-16622/? D/Unity: PlayerConnection initialized unix socket : Unity-com.tomthecarrot.helloar 10-16 15:54:55.109 16603-16622/? D/Unity: Multi-casting "[IP] 192.168.0.26 [Port] 55485 [Flags] 3 [Guid] 1576326258 [EditorId] 2655264626 [Version] 1048832 [Id] AndroidPlayer(nubia_NX531J@192.168.0.26) [Debug] 1" to [225.0.0.222:54997]... 10-16 15:54:55.109 16603-16622/? D/Unity: Waiting for connection from host on [0.0.0.0:55485]... 10-16 15:54:55.110 1580-1601/? V/ActivityManager: Enqueueing ordered broadcast BroadcastRecord{a41c32b u-1 android.net.conn.DATA_ACTIVITY_CHANGE}: prev had 0 10-16 15:54:55.110 1580-1601/? I/ActivityManager: Enqueueing broadcast android.net.conn.DATA_ACTIVITY_CHANGE 10-16 15:54:55.117 1580-10879/? V/WindowManager: adjustWindowParams isShowWhenLocked 524288 10-16 15:54:55.133 1580-1591/? V/WindowManager: adjustWindowParams isShowWhenLocked 524288 10-16 15:54:55.210 1580-1603/? I/ViewRootImpl: W::resized reportDraw:false frame:Rect(0, 0 - 1080, 1920) newConfig:null 10-16 15:54:55.212 16603-16615/? I/ViewRootImpl: W::resized reportDraw:false frame:Rect(0, 0 - 1080, 1920) newConfig:null 10-16 15:54:55.966 2239-2577/? D/NetSpeedController: connected=true 10-16 15:54:56.150 2378-2378/? D/wpa_supplicant: wlan0: Control interface command 'SIGNAL_POLL' 10-16 15:54:56.158 2378-2378/? D/wpa_supplicant: CTRL-DEBUG: global_ctrl_sock-sendto: sock=8 sndbuf=229376 outq=0 send_len=61 10-16 15:54:57.224 794-859/? E/ThermalEngine: T-CON: error read list file '/data/data/cn.nubia.powersaving/game_list.txt' 10-16 15:54:58.257 1580-2379/? E/TaskPersister: File error accessing recents directory (directory doesn't exist?). 10-16 15:54:59.173 2378-2378/? D/wpa_supplicant: wlan0: Control interface command 'SIGNAL_POLL' 10-16 15:54:59.178 2378-2378/? D/wpa_supplicant: CTRL-DEBUG: global_ctrl_sock-sendto: sock=8 sndbuf=229376 outq=0 send_len=61 10-16 15:54:59.722 1580-1580/? V/ActivityManager: Enqueueing parallel broadcast BroadcastRecord{5b96388 u-1 android.intent.action.BATTERY_CHANGED} intent Intent { act=android.intent.action.BATTERY_CHANGED flg=0x60000010 (has extras) } 10-16 15:54:59.729 2239-2506/? D/KeyguardUpdateMonitor: received broadcast android.intent.action.BATTERY_CHANGED 10-16 15:54:59.737 2827-2981/? W/QCNEJ: |CORE| CNE received unexpected action: android.intent.action.BATTERY_CHANGED 10-16 15:54:59.737 2239-2239/? D/BatteryController: mLevel = 100 mPluggedIn = true mHealth = 2 status = 5 mBatteryPresent = true 10-16 15:54:59.732 2899-2899/? D/NotifyScanHandler: nocharging... 10-16 15:54:59.739 2239-2239/? D/KeyguardUpdateMonitor: handleBatteryUpdate 10-16 15:54:59.786 5389-5389/? D/LowBatteryMode: isLowPowerModeActivated currentStatus = 0 10-16 15:54:59.798 819-819/? I/cnss-daemon: RTM_NEWROUTE Indication 10-16 15:54:59.798 819-819/? E/cnss-daemon: gateway mac address: %02x:%02x:%02x:%02x:%02x:%02x : 00:00:00:00:00:00 10-16 15:54:59.798 819-819/? E/cnss-daemon: Invalid mac address: 0x555555f110M 10-16 15:54:59.979 2239-2577/? D/NetSpeedController: connected=true 10-16 15:55:00.000 1580-1795/? D/AlarmManager: run wake up ,result=8 ,nowRTC=1508158500000 ,elapsed=17901990 10-16 15:55:00.000 1580-1795/? D/AlarmManager: add a TIME_TICK alarm to tiggerList 10-16 15:55:00.000 1580-1795/? D/AlarmManager: prepare deliver alrms ,tiggerList has a TIME_TICK 10-16 15:55:00.001 1580-1795/? D/AlarmManager: [power] type=3 tag=alarm:android.intent.action.TIME_TICK trigger=(2017-10-16 15:55:00) package=android 10-16 15:55:00.002 1580-1795/? V/ActivityManager: Enqueueing ordered broadcast BroadcastRecord{f730121 u-1 android.intent.action.TIME_TICK}: prev had 0 10-16 15:55:00.002 1580-1795/? I/ActivityManager: Enqueueing broadcast android.intent.action.TIME_TICK 10-16 15:55:00.002 1580-1795/? D/AlarmManager: deliver a TIME_TICK alarm 10-16 15:55:00.007 2239-2506/? D/KeyguardUpdateMonitor: received broadcast android.intent.action.TIME_TICK 10-16 15:55:00.007 2239-2506/? E/zlm: MSG_TIME_UPDATE 10-16 15:55:00.011 2239-2239/? D/KeyguardUpdateMonitor: handleTimeUpdate 10-16 15:55:00.147 16603-16622/com.tomthecarrot.helloar D/Unity: Timed out. Continuing without host connection. 10-16 15:55:00.148 16603-16622/com.tomthecarrot.helloar D/Unity: Started listening to [0.0.0.0:55485] 10-16 15:55:00.148 16603-16622/com.tomthecarrot.helloar D/Unity: Using monoOptions --debugger-agent=transport=dt_socket,embedding=1,defer=y,address=0.0.0.0:56258 10-16 15:55:00.301 16603-16622/com.tomthecarrot.helloar D/Unity: InitializeScriptEngine OK (d2c87ee0) 10-16 15:55:00.302 16603-16622/com.tomthecarrot.helloar D/Unity: PlayerConnection already initialized - listening to [0.0.0.0:55485] 10-16 15:55:00.315 16603-16622/com.tomthecarrot.helloar D/Unity: Player data archive not found at assets/bin/Data/data.unity3d, using local filesystem 10-16 15:55:00.318 16603-16622/com.tomthecarrot.helloar D/Unity: Unable to lookup library path for 'libaudioplugingvrunity', native render plugin support disabled. 10-16 15:55:00.319 16603-16622/com.tomthecarrot.helloar E/Unity: Unable to find libaudioplugingvrunity 10-16 15:55:00.319 16603-16622/com.tomthecarrot.helloar D/Unity: Unable to lookup library path for 'AudioPluginOculusSpatializer', native render plugin support disabled. 10-16 15:55:00.320 16603-16622/com.tomthecarrot.helloar E/Unity: Unable to find AudioPluginOculusSpatializer 10-16 15:55:00.320 16603-16622/com.tomthecarrot.helloar D/Unity: Unable to lookup library path for 'audioplugingvrunity', native render plugin support disabled. 10-16 15:55:00.320 16603-16622/com.tomthecarrot.helloar E/Unity: Unable to find audioplugingvrunity 10-16 15:55:00.321 16603-16622/com.tomthecarrot.helloar D/Unity: Unable to lookup library path for 'unitygar', native render plugin support disabled. 10-16 15:55:00.321 16603-16622/com.tomthecarrot.helloar E/Unity: Unable to find unitygar 10-16 15:55:00.321 16603-16622/com.tomthecarrot.helloar D/Unity: Unable to lookup library path for 'libAudioPluginOculusSpatializer', native render plugin support disabled. 10-16 15:55:00.322 16603-16622/com.tomthecarrot.helloar E/Unity: Unable to find libAudioPluginOculusSpatializer 10-16 15:55:00.322 16603-16622/com.tomthecarrot.helloar D/Unity: Unable to lookup library path for 'libtango_3d_reconstruction_api', native render plugin support disabled. 10-16 15:55:00.323 16603-16622/com.tomthecarrot.helloar E/Unity: Unable to find libtango_3d_reconstruction_api 10-16 15:55:00.323 16603-16622/com.tomthecarrot.helloar D/Unity: PlayerInitEngineNoGraphics OK 10-16 15:55:00.323 16603-16622/com.tomthecarrot.helloar D/Unity: AndroidGraphics::Startup window = 0xe1ee4808 10-16 15:55:00.323 16603-16622/com.tomthecarrot.helloar D/Unity: [EGL] Attaching window :0xe1ee4808 10-16 15:55:00.328 16603-16622/com.tomthecarrot.helloar D/Unity: [EGL] Request: ES 3.1+AEP RGB0 000 0/0 10-16 15:55:00.328 16603-16622/com.tomthecarrot.helloar D/Unity: [EGL] Checking ES 3.1 support... 10-16 15:55:00.339 16603-16622/com.tomthecarrot.helloar D/Unity: [EGL] ES 3.1 support detected 10-16 15:55:00.339 16603-16622/com.tomthecarrot.helloar D/Unity: [EGL] Found: ID[1] ES 3.1+AEP RGB16 565 0/0 10-16 15:55:00.339 16603-16622/com.tomthecarrot.helloar D/Unity: [EGL] Request: ES 3.1+AEP RGB0 000 0/0 10-16 15:55:00.339 16603-16622/com.tomthecarrot.helloar D/Unity: [EGL] Found: ID[1] ES 3.1+AEP RGB16 565 0/0 10-16 15:55:00.340 16603-16622/com.tomthecarrot.helloar D/Unity: [EGL] Request: ES 3.0 RGBA32 8888 0/0 10-16 15:55:00.344 16603-16622/com.tomthecarrot.helloar D/Unity: [EGL] Found: ID[9] ES 3.0 RGBA32 8888 0/0 AFBT 10-16 15:55:00.347 609-681/? I/SurfaceFlinger: SurfaceFlinger::LucidMessage 10-16 15:55:00.350 16603-16622/com.tomthecarrot.helloar D/Unity: ANativeWindow: (1080/1920) RequestedResolution: (0/0) RenderingResolution: (0/0) EGLSurface: (1080/1920) 10-16 15:55:00.356 16603-16622/com.tomthecarrot.helloar D/Unity: Renderer: Adreno (TM) 530 10-16 15:55:00.356 16603-16622/com.tomthecarrot.helloar D/Unity: Vendor: Qualcomm 10-16 15:55:00.356 16603-16622/com.tomthecarrot.helloar D/Unity: Version: OpenGL ES 3.2 V@145.0 (GIT@I45b30eba69) 10-16 15:55:00.356 16603-16622/com.tomthecarrot.helloar D/Unity: GLES: 3 10-16 15:55:00.356 16603-16622/com.tomthecarrot.helloar D/Unity: GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_half_float GL_OES_framebuffer_object GL_OES_rgb8_rgba8 GL_OES_compressed_ETC1_RGB8_texture GL_AMD_compressed_ATC_texture GL_KHR_texture_compression_astc_ldr GL_KHR_texture_compression_astc_hdr GL_OES_texture_compression_astc GL_OES_texture_npot GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_OES_texture_3D GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_QCOM_alpha_test GL_OES_depth24 GL_OES_packed_depth_stencil GL_OES_depth_texture GL_OES_depth_texture_cube_map GL_EXT_sRGB GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_EXT_texture_type_2_10_10_10_REV GL_EXT_texture_sRGB_decode GL_OES_element_index_uint GL_EXT_copy_image GL_EXT_geometry_shader GL_EXT_tessellation_shader GL_OES_texture_stencil8 GL_EXT_shader_io_blocks GL_OES_shader_image_atomic GL_OES_sample_variables GL_EXT_texture_border_clamp GL_EXT_multisampled_render_to_texture GL_OES_sha 10-16 15:55:00.356 16603-16622/com.tomthecarrot.helloar D/Unity: der_multisample_interpolation GL_EXT_texture_cube_map_array GL_EXT_draw_buffers_indexed GL_EXT_gpu_shader5 GL_EXT_robustness GL_EXT_texture_buffer GL_EXT_shader_framebuffer_fetch GL_ARM_shader_framebuffer_fetch_depth_stencil GL_OES_texture_storage_multisample_2d_array GL_OES_sample_shading GL_OES_get_program_binary GL_EXT_debug_label GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_QCOM_tiled_rendering GL_ANDROID_extension_pack_es31a GL_EXT_primitive_bounding_box GL_OES_standard_derivatives GL_OES_vertex_array_object GL_EXT_disjoint_timer_query GL_KHR_debug GL_EXT_YUV_target GL_EXT_sRGB_write_control GL_EXT_texture_norm16 GL_EXT_discard_framebuffer GL_OES_surfaceless_context GL_OVR_multiview GL_OVR_multiview2 GL_EXT_texture_sRGB_R8 GL_KHR_no_error GL_EXT_debug_marker GL_OES_EGL_image_external_essl3 GL_OVR_multiview_multisampled_render_to_texture GL_EXT_buffer_storage GL_EXT_blit_framebuffer_params GL_EXT_clip_cull_distance GL_EXT_protected_textures GL_EXT_shader_non_constant_global_i 10-16 15:55:00.356 16603-16622/com.tomthecarrot.helloar D/Unity: nitializers 10-16 15:55:00.372 16603-16622/com.tomthecarrot.helloar D/Unity: OPENGL LOG: Creating OpenGL ES 3.2 graphics device ; Context level <OpenGL ES 3.1 AEP> ; Context handle -818167360 10-16 15:55:00.373 16603-16622/com.tomthecarrot.helloar D/Unity: [EGL] Attaching window :0xe1ee4808 10-16 15:55:00.374 16603-16622/com.tomthecarrot.helloar D/Unity: Requested framebuffer: resolution[1080x1920], rgba[8/8/8/8], depth+stencil[on], samples[1] 10-16 15:55:00.375 16603-16622/com.tomthecarrot.helloar D/Unity: Created framebuffer: resolution[1080x1920], rgba[8/8/8/8], depth+stencil[24/8], samples[0] 10-16 15:55:00.375 16603-16622/com.tomthecarrot.helloar D/Unity: [EGL] Attaching window :0xe1ee4808 10-16 15:55:00.376 16603-16622/com.tomthecarrot.helloar D/Unity: Initialize engine version: 2017.2.0b9 (95ec3a4d5d9d) 10-16 15:55:00.398 16603-16622/com.tomthecarrot.helloar D/Unity: AudioManager: Selecting AudioTrack output... 10-16 15:55:00.401 1600-1600/? I/AudioPolicyManagerCustom: setting force DEEP buffer now 10-16 15:55:00.401 16603-16622/com.tomthecarrot.helloar D/Unity: Begin MonoManager ReloadAssembly 10-16 15:55:00.406 1600-1623/? I/AudioPolicyManagerCustom: setting force DEEP buffer now 10-16 15:55:00.407 1600-16442/? I/AudioPolicyManagerCustom: setting force DEEP buffer now 10-16 15:55:00.411 1600-16443/? I/AudioPolicyManagerCustom: Direct PCM is disabled for this request 10-16 15:55:00.411 1600-16443/? I/AudioPolicyManagerCustom: setting force DEEP buffer now 10-16 15:55:00.411 1600-9623/? D/compress_voip: voice_extn_compress_voip_out_get_parameters: enter 10-16 15:55:00.413 16603-16662/com.tomthecarrot.helloar D/AudioTrack: Client defaulted notificationFrames to 706 for frameCount 2120 10-16 15:55:00.415 1600-1615/? D/audio_hw_primary: out_set_parameters: enter: usecase(0: deep-buffer-playback) kvpairs: routing=2 10-16 15:55:00.416 1600-1611/? I/AudioPolicyManagerCustom: DOLBY_ENDPOINT = speaker 10-16 15:55:00.417 1600-1615/? D/audio_hw_primary: start_output_stream: enter: stream(0xe963d600)usecase(0: deep-buffer-playback) devices(0x2) 10-16 15:55:00.418 1580-2898/? I/VolumeDateCollection: noteMusicStart pkg = com.tomthecarrot.helloar, pid=16603 10-16 15:55:00.418 1600-1615/? D/audio_hw_primary: select_devices for use case (deep-buffer-playback) 10-16 15:55:00.418 1600-1615/? D/audio_hw_primary: select_devices: out_snd_device(2: speaker) in_snd_device(0: ) 10-16 15:55:00.418 1600-1615/? I/msm8974_platform: platform_check_and_set_codec_backend_cfg:becf: afe: bitwidth 16, samplerate 48000 channels 2, backend_idx 0 usecase = 0 device (speaker) 10-16 15:55:00.418 1600-1615/? D/msm8974_platform: platform_can_split_snd_device: snd_device(2) num devices(1) new_snd_devices(0) 10-16 15:55:00.418 1600-1615/? I/msm8974_platform: platform_check_and_set_codec_backend_cfg: new_snd_devices[0] is 2 10-16 15:55:00.418 1600-1615/? I/msm8974_platform: platform_check_codec_backend_cfg:becf: afe: bitwidth 16, samplerate 48000 channels 2, backend_idx 0 usecase = 0 device (speaker) 10-16 15:55:00.418 1600-1615/? D/msm8974_platform: platform_check_codec_backend_cfg:becf: afe: playback on non-44.1-support device Configure afe to default Sample Rate(48k) 10-16 15:55:00.418 1600-1615/? I/msm8974_platform: platform_check_codec_backend_cfg:becf: afe: Codec selected backend: 0 updated bit width: 16 and sample rate: 48000 10-16 15:55:00.418 1600-1615/? D/audio_hw_primary: check_usecases_codec_backend:becf: force routing 0 10-16 15:55:00.418 1600-1615/? E/msm8974_platform: platform_check_backends_match: Invalid snd_device = 10-16 15:55:00.418 1600-1615/? D/audio_hw_primary: check_usecases_codec_backend:becf: (40) check_usecases curr device: speaker, usecase device: backends match 0 10-16 15:55:00.418 1600-1615/? D/audio_hw_primary: check_usecases_codec_backend:becf: check_usecases num.of Usecases to switch 0 10-16 15:55:00.418 1600-1615/? D/hardware_info: hw_info_append_hw_type : device_name = speaker 10-16 15:55:00.418 1600-1615/? D/msm8974_platform: platform_can_split_snd_device: snd_device(2) num devices(0) new_snd_devices(0) 10-16 15:55:00.418 1600-1615/? D/audio_hw_primary: enable_snd_device: snd_device(2: speaker) 10-16 15:55:00.418 1600-1615/? I/soundtrigger: audio_extn_sound_trigger_update_device_status: device 0x2 of type 0 for Event 1, with Raise=0 10-16 15:55:00.418 1600-1615/? D/aud_dev_arbi: acquireOneDevice: device owner for device 2 is 1 10-16 15:55:00.418 1600-1615/? I/audio_hw_primary: select_devices Selected apptype: 69936 10-16 15:55:00.418 1600-1615/? E/audio_hw_dolby: audio_extn_dolby_ds2_set_endpoint: Dolby set endpint :0x2 10-16 15:55:00.418 1600-1615/? D/soundtrigger: audio_extn_sound_trigger_update_stream_status: uc_id 0 of type 0 for Event 3, with Raise=0 10-16 15:55:00.418 1600-1615/? I/audio_hw_utils: audio_extn_utils_send_app_type_cfg PLAYBACK app_type 69936, acdb_dev_id 14, sample_rate 48000 10-16 15:55:00.418 1600-1615/? I/audio_hw_utils: audio_extn_utils_send_app_type_cfg:becf: adm: app_type 69936, acdb_dev_id 14, sample_rate 48000 10-16 15:55:00.418 1600-1615/? D/msm8974_platform: platform_can_split_snd_device: snd_device(2) num devices(1) new_snd_devices(-390597584) 10-16 15:55:00.418 1600-1615/? D/ACDB-LOADER: ACDB -> send_audio_cal, acdb_id = 14, path = 0, app id = 0x11130, sample rate = 48000 10-16 15:55:00.418 1600-1615/? D/ACDB-LOADER: ACDB -> send_asm_topology 10-16 15:55:00.418 1600-1615/? D/ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_STREAM_TOPOLOGY_ID 10-16 15:55:00.418 1600-1615/? D/ACDB-LOADER: ACDB -> send_adm_topology 10-16 15:55:00.418 1600-1615/? D/ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TOPOLOGY_ID 10-16 15:55:00.418 1600-1615/? D/ACDB-LOADER: ACDB -> send_audtable 10-16 15:55:00.419 1600-1615/? D/ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TABLE_SIZE 10-16 15:55:00.419 1600-1615/? D/ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TABLE 10-16 15:55:00.419 1600-1615/? D/ACDB-LOADER: ACDB -> AUDIO_SET_AUDPROC_CAL 10-16 15:55:00.419 1600-1615/? D/ACDB-LOADER: ACDB -> send_audvoltable 10-16 15:55:00.419 1600-1615/? D/ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_STEP_TABLE, vol index 0 10-16 15:55:00.419 1600-1615/? D/ACDB-LOADER: ACDB -> AUDIO_SET_VOL_CAL cal type = 12 10-16 15:55:00.419 1600-1615/? D/ACDB-LOADER: ACDB -> send_audstrmtable 10-16 15:55:00.419 1600-1615/? D/ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_STREAM_TABLE_V2 10-16 15:55:00.419 1600-1615/? D/ACDB-LOADER: ACDB -> audstrm_cal->cal_type.cal_data.cal_size = 456 10-16 15:55:00.419 1600-1615/? D/ACDB-LOADER: ACDB -> send_afe_topology 10-16 15:55:00.419 1600-1615/? D/ACDB-LOADER: ACDB -> ACDB_CMD_GET_AFE_TOPOLOGY_ID 10-16 15:55:00.419 1600-1615/? D/ACDB-LOADER: ACDB -> GET_AFE_TOPOLOGY_ID for adcd_id 14, Topology Id 112fc 10-16 15:55:00.419 1600-1615/? D/ACDB-LOADER: ACDB -> send_afe_cal 10-16 15:55:00.419 1600-1615/? D/ACDB-LOADER: ACDB -> ACDB_CMD_GET_AFE_COMMON_TABLE

                                          [ 10-16 15:55:00.419  1600: 1615 D/         ]
                                          Failed to fetch the lookup information of the device 0000000E 

10-16 15:55:00.419 1600-1615/? E/ACDB-LOADER: Error: ACDB AFE returned = -19 10-16 15:55:00.419 1600-1615/? D/ACDB-LOADER: ACDB -> AUDIO_SET_AFE_CAL 10-16 15:55:00.419 1600-1615/? D/ACDB-LOADER: ACDB -> send_hw_delay : acdb_id = 14 path = 0 10-16 15:55:00.419 1600-1615/? D/ACDB-LOADER: ACDB -> ACDB_AVSYNC_INFO: ACDB_CMD_GET_DEVICE_PROPERTY 10-16 15:55:00.419 1600-1615/? D/audio_hw_primary: enable_audio_route: apply mixer and update path: deep-buffer-playback speaker 10-16 15:55:00.419 1600-1615/? D/audio_hw_primary: select_devices: done 10-16 15:55:00.420 463-2742/? E/ANDR-PERF-RESOURCEQS: Failed to apply optimization [4, 0] 10-16 15:55:00.422 1600-1615/? D/msm8974_platform: platform_set_channel_map mixer_ctl_name:Playback Channel Map0 10-16 15:55:00.422 1600-1615/? D/msm8974_platform: platform_set_channel_map: set mapping(1 2 0 0 0 0 0 0) for channel:2 10-16 15:55:00.504 1600-1615/? D/audio_hw_primary: start_output_stream: exit 10-16 15:55:00.575 2899-3004/? D/NotifyScanHandler: prefix:/storage/emulated/0/Android/data/ 10-16 15:55:00.575 2899-3004/? D/NotifyScanHandler: path :/storage/emulated/0/Android/data/com.tomthecarrot.helloar/3d688008de27b4b459795687aed81879 prefix:/storage/emulated/0/Android/data/ 10-16 15:55:00.575 2899-3004/? D/NotifyScanHandler: statistics path:/storage/emulated/0/Android/data/com.tomthecarrot.helloar/3d688008de27b4b459795687aed81879 prefix:/storage/emulated/0/Android/data/ 10-16 15:55:00.597 1600-1615/? D/AudioFlinger: mixer(0xe8b83a00) throttle end: throttle time(48) 10-16 15:55:00.638 2899-3004/? W/ContentProvider: enforceDeletePermission mWriteOp : -1 10-16 15:55:00.651 16603-16622/com.tomthecarrot.helloar D/Unity: - Completed reload, in 0.249 seconds 10-16 15:55:00.653 2899-3004/? W/ContentProvider: enforceDeletePermission mWriteOp : -1 10-16 15:55:01.050 16603-16622/com.tomthecarrot.helloar D/Unity: PlayerInitEngineGraphics OK 10-16 15:55:01.056 16603-16622/com.tomthecarrot.helloar D/Unity: Found 39 native sensors 10-16 15:55:01.067 16603-16622/com.tomthecarrot.helloar D/Unity: Sensor : Accelerometer ( 1) ; 0.002396 / 0.00s ; LSM6DS3 Accelerometer / STMicroelectronics 10-16 15:55:01.073 16603-16622/com.tomthecarrot.helloar D/Unity: Sensor : Accelerometer ( 1) ; 0.002396 / 0.00s ; LSM6DS3 Accelerometer / STMicroelectronics 10-16 15:55:01.111 16603-16622/com.tomthecarrot.helloar V/MediaRouter: Adding route: RouteInfo{ name=Phone, description=null, status=null, category=RouteCategory{ name=null types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO , presentationDisplay=null } 10-16 15:55:01.120 16603-16622/com.tomthecarrot.helloar V/MediaRouter: Updating audio routes: AudioRoutesInfo{ type=SPEAKER } 10-16 15:55:01.125 16603-16622/com.tomthecarrot.helloar V/MediaRouter: Selecting route: RouteInfo{ name=Phone, description=null, status=null, category=RouteCategory{ name=null types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO , presentationDisplay=null } 10-16 15:55:01.459 16603-16670/com.tomthecarrot.helloar D/Unity: Setting up 1 worker threads for Enlighten. 10-16 15:55:01.459 16603-16671/com.tomthecarrot.helloar D/Unity: Thread -> id: ffffffffc9000920 -> priority: 1 10-16 15:55:01.992 2239-2577/? D/NetSpeedController: connected=true 10-16 15:55:02.291 2378-2378/? D/wpa_supplicant: wlan0: Control interface command 'SIGNAL_POLL' 10-16 15:55:02.293 2378-2378/? D/wpa_supplicant: CTRL-DEBUG: global_ctrl_sock-sendto: sock=8 sndbuf=229376 outq=0 send_len=61 10-16 15:55:03.159 16603-16622/com.tomthecarrot.helloar D/Unity: UnloadTime: 7.317000 ms 10-16 15:55:03.202 16603-16622/com.tomthecarrot.helloar I/Unity: Handle to Tango Unity 3DR shim library is non-NULL 10-16 15:55:03.207 16603-16622/com.tomthecarrot.helloar D/Unity: UUID: 17f0973efc22abe9 => 7c42a57f3a2dabdefa2aa1abc25c55e9 10-16 15:55:03.229 1580-2932/? D/ActivityManager: [NBSelfStart] P2: pkg = com.google.android.gms, process = com.google.android.gms 10-16 15:55:03.229 1580-2932/? D/ActivityManager: [NBSelfStart] bindService P1: Pid = 16603, Uid = 10153 pkgList ={com.tomthecarrot.helloar=com.android.internal.app.procstats.ProcessStats$ProcessStateHolder@aa51f7a}, P2_service = ComponentInfo{com.google.android.gms/com.google.android.gms.ads.identifier.service.AdvertisingIdService} 10-16 15:55:03.230 1580-2932/? D/NubiaSelfStartUtil: Allow to launch app com.google.android.gms from bindservice autostart 10-16 15:55:03.232 16603-16642/com.tomthecarrot.helloar D/NetworkSecurityConfig: No Network Security Config specified, using platform default 10-16 15:55:03.234 16603-16642/com.tomthecarrot.helloar I/DpmTcmClient: RegisterTcmMonitor from: com.android.okhttp.TcmIdleTimerMonitor 10-16 15:55:03.278 16603-16622/com.tomthecarrot.helloar A/tango: jni_helper.cc:19 'vm' Must be non NULL

                                                             --------- beginning of crash

10-16 15:55:03.279 16603-16622/com.tomthecarrot.helloar A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 16622 (UnityMain)

                                                            [ 10-16 15:55:03.279   451:  451 W/         ]
                                                            debuggerd: handling request: pid=16603 uid=10153 gid=10153 tid=16622

10-16 15:55:03.351 16677-16677/? A/DEBUG: 10-16 15:55:03.351 16677-16677/? A/DEBUG: Build fingerprint: 'nubia/NX531J/NX531J:6.0.1/MMB29M/eng.nubia.20170717.152304:user/release-keys' 10-16 15:55:03.351 16677-16677/? A/DEBUG: Revision: '0' 10-16 15:55:03.351 16677-16677/? A/DEBUG: ABI: 'arm' 10-16 15:55:03.351 16677-16677/? A/DEBUG: pid: 16603, tid: 16622, name: UnityMain >>> com.tomthecarrot.helloar <<< 10-16 15:55:03.352 16677-16677/? A/DEBUG: signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr -------- 10-16 15:55:03.358 16677-16677/? A/DEBUG: Abort message: 'jni_helper.cc:19 'vm' Must be non NULL' 10-16 15:55:03.358 16677-16677/? A/DEBUG: r0 00000000 r1 000040ee r2 00000006 r3 00000008 10-16 15:55:03.358 16677-16677/? A/DEBUG: r4 edeeb978 r5 00000006 r6 edeeb920 r7 0000010c 10-16 15:55:03.358 16677-16677/? A/DEBUG: r8 edee9c00 r9 edee9bfc sl 00000515 fp edee9f10 10-16 15:55:03.358 16677-16677/? A/DEBUG: ip 00000002 sp edee9780 lr f0b0ab07 pc f0b0d388 cpsr 200f0010 10-16 15:55:03.365 16677-16677/? A/DEBUG: backtrace: 10-16 15:55:03.365 16677-16677/? A/DEBUG: #00 pc 0004a388 /system/lib/libc.so (tgkill+12) 10-16 15:55:03.365 16677-16677/? A/DEBUG: #01 pc 00047b03 /system/lib/libc.so (pthread_kill+34) 10-16 15:55:03.365 16677-16677/? A/DEBUG: #02 pc 0001d9c5 /system/lib/libc.so (raise+10) 10-16 15:55:03.365 16677-16677/? A/DEBUG: #03 pc 000192f1 /system/lib/libc.so (libc_android_abort+34) 10-16 15:55:03.365 16677-16677/? A/DEBUG: #04 pc 00017358 /system/lib/libc.so (abort+4) 10-16 15:55:03.365 16677-16677/? A/DEBUG: #05 pc 00005841 /system/lib/liblog.so (android_log_assert+112) 10-16 15:55:03.365 16677-16677/? A/DEBUG: #06 pc 00009e69 /data/app/com.tomthecarrot.helloar-1/lib/arm/libtango_client_api2.so 10-16 15:55:03.365 16677-16677/? A/DEBUG: #07 pc 0001256d /data/app/com.tomthecarrot.helloar-1/lib/arm/libtango_client_api2.so 10-16 15:55:03.365 16677-16677/? A/DEBUG: #08 pc 00009247 /data/app/com.tomthecarrot.helloar-1/lib/arm/libtango_client_api2.so (TangoService_isSupported+26) 10-16 15:55:03.365 16677-16677/? A/DEBUG: #09 pc 00009b24 10-16 15:55:03.437 2899-3004/? D/NotifyScanHandler: prefix:/storage/emulated/0/Android/data/ 10-16 15:55:03.437 2899-3004/? D/NotifyScanHandler: path :/storage/emulated/0/Android/data/com.tomthecarrot.helloar/aafad1bd91b284026aa5cfa261b9697c prefix:/storage/emulated/0/Android/data/ 10-16 15:55:03.437 2899-3004/? D/NotifyScanHandler: statistics path:/storage/emulated/0/Android/data/com.tomthecarrot.helloar/aafad1bd91b284026aa5cfa261b9697c prefix:/storage/emulated/0/Android/data/ 10-16 15:55:03.516 2899-3004/? W/ContentProvider: enforceDeletePermission mWriteOp : -1 10-16 15:55:03.532 2899-3004/? W/ContentProvider: enforceDeletePermission mWriteOp : -1

emrek1 commented 6 years ago

Forgot to mention that I replaced unitygar.aar in assets/GoogleARCore/SDK/Plugins/ with yours while building the apk within Unity.