Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

on android Unity(9204): Unable to find libpocketsphinxwrap #16

Open
xxxxxll opened this issue May 28, 2020 · 4 comments
Open

on android Unity(9204): Unable to find libpocketsphinxwrap #16

xxxxxll opened this issue May 28, 2020 · 4 comments

Comments

@xxxxxll
Copy link

xxxxxll commented May 28, 2020

05-28 14:48:33.250: D/FeedSwipeController(8498): touchState : 0 scrolling : false normalEditing : false WidgetThumbnailViewShowing : false UninstallDialogShowing : false
05-28 14:48:33.251: D/FeedSwipeController(8498): ACTION_DOWN-> directions To Detect Scroll: 1=POSITIVE 2=NEGATIVE 3=BOTH 1
05-28 14:48:33.253: D/Launcher.Workspace(8498): Workspace touch down
05-28 14:48:33.254: D/Launcher.CellLayout(8498): touch item:ShortcutInfo, id=187, itemType=0, user=UserHandle{0}, mIconType=0, mTitle=PocketSphinx-UnityDemo-Updated, mLabel=PocketSphinx-UnityDemo-Updated, pkgName=com.xxx.llll, className=com.unity3d.player.UnityPlayerActivity, screenId=4, container=-100, cellX=1, cellY=3, spanX=1, spanY=1, isLandscapePos=false
05-28 14:48:33.321: D/Launcher_dispatchTouchEvent(8498): [motionEvent action:(rawX,rawY)] 48:33.249[0(418.0,1096.0)] 48:33.280[2(418.0,1096.0)] 48:33.297[2(418.0,1096.0)] 48:33.314[2(418.0,1096.0)] 48:33.319[2(418.0,1096.0)] 48:33.321[1(418.0,1096.0)]
05-28 14:48:33.321: D/Launcher_Scrollto(8498): [(rawX,rawY)|scrollX]
05-28 14:48:33.321: D/Launcher.Workspace(8498): Workspace touch up or cancel
05-28 14:48:33.322: I/RenderThread(8498): RenderThread resumed
05-28 14:48:33.322: I/RenderThread(8498): All controllers paused.
05-28 14:48:33.322: I/RenderThread(8498): RenderThread paused, waiting for signal
05-28 14:48:33.325: I/Timeline(8498): Timeline: Activity_launch_request time:108760708
05-28 14:48:33.331: I/ActivityManager(1563): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.xxx.llll/com.unity3d.player.UnityPlayerActivity bnds=[330,1002][498,1170] (has extras)} from uid 10055
05-28 14:48:33.338: E/ANDR-PERF-MPCTL(687): Invalid profile no. 0, total profiles 0 only
05-28 14:48:33.341: E/ANDR-PERF-JNI(1563): com_qualcomm_qtiperformance_native_perf_io_prefetch_start
05-28 14:48:33.341: E/ANDR-IOP(686): IOP HAL: Received pkg_name = com.xxx.llll pid = -1
05-28 14:48:33.347: E/ANDR-IOP(686): io prefetch is disabled
05-28 14:48:33.354: E/ANDR-PERF-UTIL(687): Failed to read /sys/module/lpm_levels/parameters/ref_stddev
05-28 14:48:33.354: E/ANDR-PERF-OPTSHANDLER(687): Failed to read /sys/module/lpm_levels/parameters/ref_stddev
05-28 14:48:33.354: E/ANDR-PERF-RESOURCEQS(687): Failed to apply optimization [1, 3]
05-28 14:48:33.354: E/ANDR-PERF-UTIL(687): Failed to read /sys/module/lpm_levels/parameters/tmr_add
05-28 14:48:33.354: E/ANDR-PERF-OPTSHANDLER(687): Failed to read /sys/module/lpm_levels/parameters/tmr_add
05-28 14:48:33.354: E/ANDR-PERF-RESOURCEQS(687): Failed to apply optimization [1, 4]
05-28 14:48:33.357: D/CompatibilityInfo(1563): mCompatibilityFlags - 0
05-28 14:48:33.357: D/CompatibilityInfo(1563): applicationDensity - 440
05-28 14:48:33.357: D/CompatibilityInfo(1563): applicationScale - 1.0
05-28 14:48:33.358: D/ActivityTrigger(1563): ActivityTrigger activityPauseTrigger
05-28 14:48:33.363: D/Launcher.Lifecycle(8498): onPause:UserHandle{0},4e5e20c,true
05-28 14:48:33.363: D/Launcher_UnlockAnimationStateMachine(8498): setState:PAUSE_WAIT
05-28 14:48:33.388: D/Launcher(8498): disableStatusBarClock:false
05-28 14:48:33.418: D/Boost(1563): hostingType=activity, hostingName=com.xxx.llll/com.unity3d.player.UnityPlayerActivity, callerPackage=com.miui.home, isSystem=true, isBoostNeeded=false.
05-28 14:48:33.418: W/ANDR-PERF-LM(687): WQ: push() 54: LMTriggerQ push() size=10 mFlushThreshold=10, Reached threshold => flooding detected, clearing Queue
05-28 14:48:33.420: I/ActivityManager(1563): Start proc 9204:com.xxx.llll/u0a284 for activity com.xxx.llll/com.unity3d.player.UnityPlayerActivity caller=com.miui.home
05-28 14:48:33.421: I/sensors-hal(676): batch:140, android.sensor.device_orientation/29, period=66667000, max_latency=0
05-28 14:48:33.422: I/sensors-hal(676): batch:149, android.sensor.device_orientation/29, period=66667000, max_latency=0 request completed
05-28 14:48:33.422: I/sensors-hal(676): activate:107, android.sensor.device_orientation/29 en=1
05-28 14:48:33.422: I/sensors-hal(676): ssc_enable_rt_task:254, ssc_enable_rt_task : true
05-28 14:48:33.426: W/com.xxx.llll(9204): Using default instruction set features for ARM CPU variant (cortex-a9) using conservative defaults
05-28 14:48:33.427: I/sensors-hal(676): activate:118, android.sensor.device_orientation/29 en=1 completed
05-28 14:48:33.429: E/com.xxx.llll(9204): Not starting debugger since process cannot load the jdwp agent.
05-28 14:48:33.443: D/CompatibilityInfo(1563): mCompatibilityFlags - 0
05-28 14:48:33.443: D/CompatibilityInfo(1563): applicationDensity - 440
05-28 14:48:33.443: D/CompatibilityInfo(1563): applicationScale - 1.0
05-28 14:48:33.450: D/CompatibilityInfo(1563): mCompatibilityFlags - 0
05-28 14:48:33.450: D/CompatibilityInfo(1563): applicationDensity - 440
05-28 14:48:33.450: D/CompatibilityInfo(1563): applicationScale - 1.0
05-28 14:48:33.451: I/ProcessMonitor(3003): onForegroundInfoChanged: ForegroundInfo{mForegroundPackageName='com.xxx.llll', mForegroundUid=10284, mForegroundPid=9204, mLastForegroundPackageName='com.miui.home', mLastForegroundUid=10055, mLastForegroundPid=8498, mMultiWindowForegroundPackageName='null', mMultiWindowForegroundUid=-1, mFlags=1}
05-28 14:48:33.452: I/GameBoosterService(3003): onForegroundInfoChanged: Cur=com.xxx.llll last=com.miui.home
05-28 14:48:33.452: W/ActivityManager(1563): Request to remove task ignored for non-existent task 77
05-28 14:48:33.452: D/GameBoosterService(3003): onGameStatusChange foreground:ForegroundInfo{mForegroundPackageName='com.xxx.llll', mForegroundUid=10284, mForegroundPid=9204, mLastForegroundPackageName='com.miui.home', mLastForegroundUid=10055, mLastForegroundPid=8498, mMultiWindowForegroundPackageName='null', mMultiWindowForegroundUid=-1, mFlags=1}
05-28 14:48:33.452: I/GameBoosterService(3003): onForegroundInfoChanged: Exit
05-28 14:48:33.452: I/VideoBoxUtils(3003): isSupportVideoBox: false
05-28 14:48:33.452: I/VideoToolBoxService(3003): onForegroundInfoChanged: Exit Vtb
05-28 14:48:33.457: I/Timeline(1563): Timeline: App_transition_ready time:108760840
05-28 14:48:33.458: I/octvm_power(2602): power mode [normal] start 1590648513
05-28 14:48:33.458: E/octvm(2602): open /sys/class/power_supply/battery/status error, Permission denied
05-28 14:48:33.458: I/octvm_drv(2602): common drv: get_current_battery_uAh will return 0
05-28 14:48:33.458: I/octvm_power(2602): Action: set_bcbc_cust_state(disable) for [foreground_change]
05-28 14:48:33.458: I/octvm_drv(2602): common drv: platform_set_bcbc_cust_state -> platform not support
05-28 14:48:33.458: I/octvm_power(2602): Action: set_lcd_mode(default) for [foreground_change]
05-28 14:48:33.458: I/octvm_drv(2602): common drv: platform_set_lcd_mode -> platform not support
05-28 14:48:33.458: I/octvm_power(2602): Action: set_thermal_config(restore) for [foreground_change]
05-28 14:48:33.459: I/octvm_drv(2602): platform_set_thermal_mode cur_global_config:[], target mode:[restore], profile=0, ret=0
05-28 14:48:33.459: E/octvm(2602): open /sys/class/power_supply/battery/status error, Permission denied
05-28 14:48:33.459: I/octvm_drv(2602): common drv: get_current_battery_uAh will return 0
05-28 14:48:33.459: I/octvm_power(2602): onPowerModeChanged[normal] called
05-28 14:48:33.461: I/CloudSettingsProvider(6352): uriMatch : 2
05-28 14:48:33.462: D/StatusBar(1893): disable disable2
05-28 14:48:33.462: D/Launcher.Lifecycle(8498): onWindowFocusChanged:false,UserHandle{0},4e5e20c,true
05-28 14:48:33.463: D/PhoneStatusBar/NavigationBarView(1893): setDisabledFlags back:false home:false recent:false
05-28 14:48:33.448: W/Binder:2602_1(2602): type=1400 audit(0.0:27962): avc: denied { search } for name="battery" dev="sysfs" ino=52037 scontext=u:r:mcd:s0 tcontext=u:object_r:sysfs_battery_supply:s0 tclass=dir permissive=0
05-28 14:48:33.464: W/com.xxx.llll(9204): miui_dex2oat: OatFile: /data/app/com.xxx.llll-8S1dfRcn_hWTN4tdlY9nUg==/oat/arm/base.odex Compiler-Filter = speed-profile
05-28 14:48:33.467: D/StatusBarClock(1893): isNormalMode= true clock visible=true
05-28 14:48:33.467: D/StatusBarClock(1893): isNormalMode= true clock visible=true
05-28 14:48:33.472: I/Perf(9204): Connecting to perf service.
05-28 14:48:33.480: I/CloudSettingsProvider(6352): uriMatch : 2
05-28 14:48:33.494: I/com.xxx.llll(9204): The ClassLoaderContext is a special shared library.
05-28 14:48:33.494: W/com.xxx.llll(9204): miui_dex2oat: OatFile: /system/framework/oat/arm/gson.odex Compiler-Filter = speed
05-28 14:48:33.495: W/com.xxx.llll(9204): miui_dex2oat: oat file of /system/app/MiuiContentCatcher/MiuiContentCatcher.apk is not exists
05-28 14:48:33.515: W/com.xxx.llll(9204): miui_dex2oat: /system/app/MiuiContentCatcher/MiuiContentCatcher.apk: Fall back to running out of the original dex file.
05-28 14:48:33.498: W/Binder:intercep(9204): type=1400 audit(0.0:27964): avc: denied { getattr } for path="/data/data/com.miui.contentcatcher" dev="mmcblk0p87" ino=4180 scontext=u:r:untrusted_app:s0:c28,c257,c512,c768 tcontext=u:object_r:system_app_data_file:s0 tclass=dir permissive=0
05-28 14:48:33.518: D/NetworkSecurityConfig(9204): No Network Security Config specified, using platform default
05-28 14:48:33.518: I/DpmTcmClient(9204): RegisterTcmMonitor from: $Proxy0
05-28 14:48:33.520: V/UiModeManager(1563): switch night mode to 1
05-28 14:48:33.525: D/ViewContentFactory(9204): initViewContentFetcherClass
05-28 14:48:33.525: D/ViewContentFactory(9204): getInterceptorPackageInfo
05-28 14:48:33.525: D/ViewContentFactory(9204): getInitialApplication took 1ms
05-28 14:48:33.525: D/ViewContentFactory(9204): packageInfo.packageName: com.miui.catcherpatch
05-28 14:48:33.527: W/com.xxx.llll(9204): miui_dex2oat: oat file of /system/app/CatcherPatch/CatcherPatch.apk is not exists
05-28 14:48:33.528: W/com.xxx.llll(9204): miui_dex2oat: /system/app/CatcherPatch/CatcherPatch.apk: Fall back to running out of the original dex file.
05-28 14:48:33.518: W/Binder:intercep(9204): type=1400 audit(0.0:27965): avc: denied { getattr } for path="/data/data/com.miui.catcherpatch" dev="mmcblk0p87" ino=4531 scontext=u:r:untrusted_app:s0:c28,c257,c512,c768 tcontext=u:object_r:system_app_data_file:s0 tclass=dir permissive=0
05-28 14:48:33.531: D/ViewContentFactory(9204): initViewContentFetcherClass took 6ms
05-28 14:48:33.531: I/ContentCatcher(9204): ViewContentFetcher : ViewContentFetcher
05-28 14:48:33.531: D/ViewContentFactory(9204): createInterceptor took 7ms
05-28 14:48:33.570: D/Launcher.Transfer(8498): transfer:onPause, extra:null
05-28 14:48:33.580: I/ActivityManager(1563): Displayed com.xxx.llll/com.unity3d.player.UnityPlayerActivity: +192ms
05-28 14:48:33.589: I/Unity(9204): SystemInfo CPU = ARMv7 VFPv3 NEON, Cores = 8, Memory = 5657mb
05-28 14:48:33.590: I/Unity(9204): SystemInfo ARM big.LITTLE configuration: 2 big (mask: 0xc0), 6 little (mask: 0x3f)
05-28 14:48:33.591: I/Unity(9204): ApplicationInfo com.xxx.llll version 0.1 build 0e3d96c6-d062-4db8-8e4b-78d8d760054c
05-28 14:48:33.591: I/Unity(9204): Built from '2018.4/china_unity/release' branch, Version '2018.4.23f1 (d1b9ef0189b3)', Build type 'Release', Scripting Backend 'mono', CPU 'armeabi-v7a'
05-28 14:48:33.663: D/Launcher_UnlockAnimationStateMachine(8498): mResetIdleStateRunnable
05-28 14:48:33.668: E/SchedPolicy(9204): set_timerslack_ns write failed: Operation not permitted
05-28 14:48:33.676: I/sensors-hal(676): activate:107, android.sensor.device_orientation/29 en=0
05-28 14:48:33.677: I/sensors-hal(676): activate:118, android.sensor.device_orientation/29 en=0 completed
05-28 14:48:33.679: I/Adreno(9204): QUALCOMM build : 89f10b9, I3d0e3ac366
05-28 14:48:33.679: I/Adreno(9204): Build Date : 12/25/18
05-28 14:48:33.679: I/Adreno(9204): OpenGL ES Shader Compiler Version: EV031.25.14.03
05-28 14:48:33.679: I/Adreno(9204): Local Branch :
05-28 14:48:33.679: I/Adreno(9204): Remote Branch :
05-28 14:48:33.679: I/Adreno(9204): Remote Branch :
05-28 14:48:33.679: I/Adreno(9204): Reconstruct Branch :
05-28 14:48:33.679: I/Adreno(9204): Build Config : S P 6.0.9 AArch32
05-28 14:48:33.681: I/Adreno(9204): PFP: 0x016ee177, ME: 0x00000000
05-28 14:48:33.684: I/ConfigStore(9204): android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
05-28 14:48:33.684: I/ConfigStore(9204): android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0
05-28 14:48:33.693: D/Unity(9204): 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_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_EXT_texture_format_sRGB_override 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_EGL_image_external_wrap_modes GL_EXT_multisampled_render_to_texture GL_EX
05-28 14:48:33.693: D/Unity(9204): T_multisampled_render_to_texture2 GL_OES_shader_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_external_buffer GL_EXT_blit_framebuffer_params GL_EXT_clip_cull_dis
05-28 14:48:33.693: D/Unity(9204): tance GL_EXT_protected_textures GL_EXT_shader_non_constant_global_initializers GL_QCOM_texture_foveated GL_QCOM_shader_framebuffer_fetch_noncoherent GL_EXT_memory_object GL_EXT_memory_object_fd GL_EXT_EGL_image_array GL_NV_shader_noperspective_interpolation GL_KHR_robust_buffer_access_behavior GL_EXT_EGL_image_storage GL_EXT_blend_func_extended GL_EXT_clip_control GL_QCOM_validate_shader_binary
05-28 14:48:33.706: D/AudioTrack(9204): get packages (com.xxx.llll) for calling UID 10284
05-28 14:48:33.706: D/AudioTrack(9204): set(): Force removing AUDIO_OUTPUT_FLAG_RAW
05-28 14:48:33.707: D/audio_hw_spkr_prot(659): audio_extn_fbsp_get_parameters: Speaker protection disabled
05-28 14:48:33.707: D/audio_hw_extn(659): audio_extn_get_parameters: returns
05-28 14:48:33.708: I/hash_map_utils(716): key: 'audio_game_sound_volume_gap_switch' value: ''
05-28 14:48:33.709: D/AudioFlinger(716): Client defaulted notificationFrames to 1365 for frameCount 4096
05-28 14:48:33.710: D/compress_voip(659): voice_extn_compress_voip_out_get_parameters: enter
05-28 14:48:33.714: W/AudioTrack(9204): Use of stream types is deprecated for operations other than volume control
05-28 14:48:33.714: W/AudioTrack(9204): See the documentation of AudioTrack() for what to use instead with android.media.AudioAttributes to qualify your playback use case
05-28 14:48:33.716: W/AshmemAllocator(660): ashmem_create_region(15360) returning hidl_memory(0x75e282c100, 15360)
05-28 14:48:33.718: I/chatty(660): uid=1000(system) allocator@1.0-s identical 1 line
05-28 14:48:33.722: W/AshmemAllocator(660): ashmem_create_region(15360) returning hidl_memory(0x75e282c100, 15360)
05-28 14:48:33.723: W/AshmemAllocator(660): ashmem_create_region(7680) returning hidl_memory(0x75e282c100, 7680)
05-28 14:48:33.708: W/Binder:716_9(716): type=1400 audit(0.0:27966): avc: denied { write } for name="logd" dev="tmpfs" ino=24654 scontext=u:r:audioserver:s0 tcontext=u:object_r:logd_socket:s0 tclass=sock_file permissive=0
05-28 14:48:33.725: I/PowerCheckerService(5138): uid:10284 change to active
05-28 14:48:33.726: I/AppActiveChecker(5138): uid:10284 change to active
05-28 14:48:33.728: D/audio_hw_primary(659): start_output_stream: enter: stream(0xe5dc6800)usecase(0: deep-buffer-playback) devices(0x2)
05-28 14:48:33.728: D/audio_hw_primary(659): select_devices for use case (deep-buffer-playback)
05-28 14:48:33.728: D/audio_hw_primary(659): select_devices: out_snd_device(2: speaker) in_snd_device(0: )
05-28 14:48:33.728: I/msm8974_platform(659): platform_check_and_set_codec_backend_cfg:becf: afe: bitwidth 16, samplerate 48000 channels 2, backend_idx 0 usecase = 0 device (speaker)
05-28 14:48:33.728: D/msm8974_platform(659): platform_split_snd_device: snd_device(2) num devices(1) new_snd_devices(0)
05-28 14:48:33.728: I/msm8974_platform(659): platform_check_and_set_codec_backend_cfg: new_snd_devices[0] is 2
05-28 14:48:33.728: I/msm8974_platform(659): platform_check_codec_backend_cfg:becf: afe: bitwidth 16, samplerate 48000 channels 2, backend_idx 0 usecase = 0 device (speaker)
05-28 14:48:33.728: D/msm8974_platform(659): platform_check_codec_backend_cfg:becf: afe: playback on codec device not supporting native playback set default Sample Rate(48k)
05-28 14:48:33.728: I/msm8974_platform(659): platform_check_codec_backend_cfg:becf: afe: Codec selected backend: 0 updated bit width: 16 and sample rate: 48000
05-28 14:48:33.728: D/audio_hw_primary(659): check_usecases_codec_backend:becf: force routing 0
05-28 14:48:33.728: E/msm8974_platform(659): platform_check_backends_match: Invalid snd_device =
05-28 14:48:33.728: D/audio_hw_primary(659): check_usecases_codec_backend:becf: (63) check_usecases curr device: speaker, usecase device: backends match 0
05-28 14:48:33.728: D/audio_hw_primary(659): check_usecases_codec_backend:becf: check_usecases num.of Usecases to switch 0
05-28 14:48:33.728: D/hardware_info(659): hw_info_append_hw_type : device_name = speaker
05-28 14:48:33.728: D/msm8974_platform(659): platform_split_snd_device: snd_device(2) num devices(0) new_snd_devices(0)
05-28 14:48:33.728: D/audio_hw_primary(659): enable_snd_device: snd_device(2: speaker)
05-28 14:48:33.728: D/audio_route(659): Apply path: speaker
05-28 14:48:33.731: D/audio_hw_utils(659): audio_extn_utils_send_app_type_cfg: usecase->out_snd_device speaker
05-28 14:48:33.731: D/msm8974_platform(659): platform_split_snd_device: snd_device(2) num devices(0) new_snd_devices(0)
05-28 14:48:33.731: D/audio_hw_utils(659): audio_extn_btsco_get_sample_rate:Not a BT SCO device, need not update sampling rate
05-28 14:48:33.731: I/audio_hw_utils(659): send_app_type_cfg_for_device PLAYBACK app_type 69936, acdb_dev_id 15, sample_rate 48000, snd_device_be_idx 43
05-28 14:48:33.732: W/SurfaceFlinger(720): Attempting to set client state on removed layer: Splash Screen com.xxx.llll#0
05-28 14:48:33.732: W/SurfaceFlinger(720): Attempting to destroy on removed layer: Splash Screen com.xxx.llll#0
05-28 14:48:33.732: D/msm8974_platform(659): platform_split_snd_device: snd_device(2) num devices(1) new_snd_devices(0)
05-28 14:48:33.732: D/ACDB-LOADER(659): ACDB -> send_audio_cal, acdb_id = 15, path = 0, app id = 0x11130, sample rate = 48000
05-28 14:48:33.732: D/ACDB-LOADER(659): ACDB -> send_asm_topology
05-28 14:48:33.732: D/ACDB-LOADER(659): ACDB -> ACDB_CMD_GET_AUDPROC_STREAM_TOPOLOGY_ID
05-28 14:48:33.732: D/ACDB-LOADER(659): ACDB -> send_adm_topology
05-28 14:48:33.733: D/ACDB-LOADER(659): ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TOPOLOGY_ID
05-28 14:48:33.733: D/ACDB-LOADER(659): ACDB -> send_audtable
05-28 14:48:33.733: D/ACDB-LOADER(659): ACDB -> ACDB_CMD_GET_AUDPROC_INSTANCE_COMMON_TABLE_SIZE
05-28 14:48:33.733: D/ACDB-LOADER(659): ACDB -> ACDB_CMD_GET_AUDPROC_INSTANCE_COMMON_TABLE
05-28 14:48:33.733: D/ACDB-LOADER(659): ACDB -> AUDIO_SET_AUDPROC_CAL cal_type[11] acdb_id[15] app_type[69936]
05-28 14:48:33.733: D/ACDB-LOADER(659): ACDB -> send_audvoltable
05-28 14:48:33.733: D/ACDB-LOADER(659): ACDB -> ACDB_CMD_GET_AUDPROC_INSTANCE_GAIN_DEP_STEP_TABLE_SIZE
05-28 14:48:33.733: D/(659): Failed to fetch the lookup information of the device 0000000F
05-28 14:48:33.733: E/ACDB-LOADER(659): Error: ACDB_CMD_GET_AUDPROC_INSTANCE_GAIN_DEP_STEP_TABLE_SIZE Returned = -19
05-28 14:48:33.733: D/ACDB-LOADER(659): ACDB -> ACDB_CMD_GET_AUDPROC_INSTANCE_GAIN_DEP_STEP_TABLE, vol index 5
05-28 14:48:33.733: D/(659): Failed to fetch the lookup information of the device 0000000F
05-28 14:48:33.733: E/ACDB-LOADER(659): Error: ACDB AudProc vol returned = -19
05-28 14:48:33.733: D/ACDB-LOADER(659): ACDB -> AUDIO_SET_VOL_CAL cal type = 12
05-28 14:48:33.733: D/ACDB-LOADER(659): ACDB -> ACDB_CMD_GET_AUDPROC_INSTANCE_STREAM_TABLE_SIZE
05-28 14:48:33.733: D/ACDB-LOADER(659): ACDB -> send_audstrmtable
05-28 14:48:33.733: D/ACDB-LOADER(659): ACDB -> ACDB_CMD_GET_AUDPROC_INSTANCE_STREAM_TABLE
05-28 14:48:33.733: D/ACDB-LOADER(659): ACDB -> audstrm_cal->cal_type.cal_data.cal_size = 536
05-28 14:48:33.733: D/ACDB-LOADER(659): ACDB -> send_afe_topology
05-28 14:48:33.733: D/ACDB-LOADER(659): ACDB -> ACDB_CMD_GET_AFE_TOPOLOGY_ID
05-28 14:48:33.733: D/ACDB-LOADER(659): ACDB -> GET_AFE_TOPOLOGY_ID for adcd_id 15, Topology Id 112fc
05-28 14:48:33.733: D/ACDB-LOADER(659): ACDB -> send_afe_cal
05-28 14:48:33.733: D/ACDB-LOADER(659): ACDB -> ACDB_CMD_GET_AFE_INSTANCE_COMMON_TABLE_SIZE
05-28 14:48:33.733: D/(659): Failed to fetch the lookup information of the device 0000000F
05-28 14:48:33.733: E/ACDB-LOADER(659): Error: ACDB_CMD_GET_AFE_INSTANCE_COMMON_TABLE_SIZE Returned = -19
05-28 14:48:33.733: D/ACDB-LOADER(659): ACDB -> ACDB_CMD_GET_AFE_INSTANCE_COMMON_TABLE
05-28 14:48:33.733: D/(659): Failed to fetch the lookup information of the device 0000000F
05-28 14:48:33.733: E/ACDB-LOADER(659): Error: ACDB AFE returned = -19
05-28 14:48:33.733: D/ACDB-LOADER(659): ACDB -> AUDIO_SET_AFE_CAL cal_type[16] acdb_id[15]
05-28 14:48:33.733: D/ACDB-LOADER(659): ACDB -> send_hw_delay : acdb_id = 15 path = 0
05-28 14:48:33.733: D/ACDB-LOADER(659): ACDB -> ACDB_AVSYNC_INFO: ACDB_CMD_GET_DEVICE_PROPERTY
05-28 14:48:33.733: D/audio_hw_primary(659): enable_audio_route: apply mixer and update path: deep-buffer-playback
05-28 14:48:33.733: D/audio_route(659): Apply path: deep-buffer-playback
05-28 14:48:33.734: D/audio_hw_primary(659): select_devices: done
05-28 14:48:33.740: D/msm8974_platform(659): platform_set_channel_map mixer_ctl_name:Playback Channel Map0
05-28 14:48:33.740: D/msm8974_platform(659): platform_set_channel_map: set mapping(1 2 0 0 0 0 0 0) for channel:2
05-28 14:48:33.668: I/chatty(9204): uid=10284(com.xxx.llll) UnityMain identical 14 lines
05-28 14:48:33.668: E/SchedPolicy(9204): set_timerslack_ns write failed: Operation not permitted
05-28 14:48:33.749: I/Timeline(1563): Timeline: Activity_windows_visible id: ActivityRecord{589f0d1 u0 com.xxx.llll/com.unity3d.player.UnityPlayerActivity t78} time:108761131
05-28 14:48:33.750: I/Timeline(1563): Timeline: App_transition_stopped time:108761133
05-28 14:48:33.755: D/EventBus(1893): [1893, u0] send(AppTransitionFinishedEvent)
05-28 14:48:33.755: D/EventBus(1893): [1893, u0] -> ForcedResizableInfoActivityController [0x3ca5b1f, P1] onBusEvent(AppTransitionFinishedEvent)
05-28 14:48:33.755: D/EventBus(1893): [1893, u0] onBusEvent(AppTransitionFinishedEvent) duration: 24 microseconds, avg: 604
05-28 14:48:33.755: D/EventBus(1893): [1893, u0] send(AppTransitionFinishedEvent)
05-28 14:48:33.755: D/ActivityTrigger(1563): ActivityTrigger activityStopTrigger
05-28 14:48:33.755: D/EventBus(1893): [1893, u0] -> ForcedResizableInfoActivityController [0x3ca5b1f, P1] onBusEvent(AppTransitionFinishedEvent)
05-28 14:48:33.756: D/EventBus(1893): [1893, u0] onBusEvent(AppTransitionFinishedEvent) duration: 27 microseconds, avg: 603
05-28 14:48:33.767: V/SettingsProvider(1563): Notifying for 0: content://settings/secure/com.miui.newhome.preferences.is_home_foreground
05-28 14:48:33.785: D/StatusBar(1893): disable disable2
05-28 14:48:33.785: D/StatusBarClock(1893): isNormalMode= true clock visible=true
05-28 14:48:33.785: D/StatusBarClock(1893): isNormalMode= true clock visible=true
05-28 14:48:33.818: D/Launcher.Lifecycle(8498): onStop:UserHandle{0},4e5e20c,false
05-28 14:48:33.826: D/Launcher.BackScreen(8498): shown change, now is false, changedView=DecorView@91512f8[Launcher], visi=4
05-28 14:48:33.859: D/audio_hw_primary(659): start_output_stream: exit
05-28 14:48:33.859: D/audio_hw_primary(659): out_write: retry previous failed cal level set
05-28 14:48:33.859: D/msm8974_platform(659): platform_split_snd_device: snd_device(2) num devices(1) new_snd_devices(0)
05-28 14:48:33.860: D/msm8974_platform(659): platform_split_snd_device: snd_device(2) num devices(1) new_snd_devices(0)
05-28 14:48:33.887: D/com.xiaomi.common.Network(2820): Http POST Response Code: 200
05-28 14:48:33.956: D/AudioFlinger(716): mixer(0xea0030c0) throttle end: throttle time(43)
05-28 14:48:34.014: I/sensors-hal(676): flush:169, android.sensor.accelerometer/42
05-28 14:48:34.015: I/sensors-hal(676): flush:175, android.sensor.accelerometer/42 completed
05-28 14:48:34.015: I/sensors-hal(676): batch:140, android.sensor.accelerometer/42, period=20000000, max_latency=0
05-28 14:48:34.016: I/sensors-hal(676): batch:149, android.sensor.accelerometer/42, period=20000000, max_latency=0 request completed
05-28 14:48:34.022: V/MediaRouter(9204): Adding route: RouteInfo{ name=手机, description=null, status=null, category=RouteCategory{ name=系统 types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO , presentationDisplay=null }
05-28 14:48:34.025: V/MediaRouter(9204): Selecting route: RouteInfo{ name=手机, description=null, status=null, category=RouteCategory{ name=系统 types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO , presentationDisplay=null }
05-28 14:48:36.022: I/MiuiChargeController(1893): checkBatteryStatus: chargeType 11 status 2 plugged 2 isRapidCharge false isSuperCharge false isCarMode false mChargeDeviceType -1 mChargeDeviceForAnalytic -1
05-28 14:48:36.023: I/MiuiChargeManager(1893): checkBatteryStatus: mChargeState 11 mChargeSpeed 0 mBatteryLevel 43 mChargeDeviceType -1 mIsCarMode false mWirelessChargeState -1
05-28 14:48:36.023: I/MiuiChargeManager(1893): notifyChargeLevelChange: mBatteryLevel 43
05-28 14:48:36.023: D/KeyguardUpdateMonitor(1893): received broadcast android.intent.action.BATTERY_CHANGED
05-28 14:48:36.023: D/QtiCarrierConfigHelper(2215): WARNING, no carrier configs on phone Id: 0
05-28 14:48:36.023: I/BatteryInfoReceiver(3003): ACTION_BATTERY_CHANGED
05-28 14:48:36.025: E/MtpServer(3990): sendDevicePropertyChanged 20481
05-28 14:48:36.026: D/PowerCheckerService(5138): onBatteryChanged, mBatteryLevel = 42, status = 2, level = 43, plug = 2, scale = 100
05-28 14:48:36.027: D/BatteryHistoryLoadMgr(3003): getHistoryInfo begin
05-28 14:48:36.028: D/KeyguardUpdateMonitor(1893): handleBatteryUpdate
05-28 14:48:36.028: I/KeyguardIndication(1893): updateIndication: mVisible false mDozing false mTransientIndication null mPowerPluggedIn true mUpArrowIndication 上滑解锁
05-28 14:48:36.051: E/BatteryExternalStatsWorker(1563): no controller energy info supplied for bluetooth
05-28 14:48:36.124: D/BatteryHistoryLoadMgr(3003): getHistoryInfo end
05-28 14:48:36.124: I/BatteryInfoReceiver(3003): update charge detail 151
05-28 14:48:36.125: I/PowerUtils(3003): use feature battery typ capacity
05-28 14:48:36.126: I/PowerUtils(3003): use feature battery typ capacity
05-28 14:48:36.126: W/BatteryChargeTimeHelper(3003): Use max, leftChargeTime 5h47m7s743ms maxChargeTime 5h4m
05-28 14:48:36.126: I/BatteryChargeTimeHelper(3003): Mixed(calc) charge time, 0.57 6h33m38s564ms
05-28 14:48:36.176: W/SensorService(1563): sensor 0000001e already enabled in connection 0x76cc3b08c0 (ignoring)
05-28 14:48:36.177: I/sensors-hal(676): batch:140, android.sensor.accelerometer/42, period=200000000, max_latency=0
05-28 14:48:36.180: I/sensors-hal(676): batch:149, android.sensor.accelerometer/42, period=200000000, max_latency=0 request completed
05-28 14:48:36.182: I/sensors-hal(676): flush:169, android.sensor.accelerometer/42
05-28 14:48:36.184: I/sensors-hal(676): flush:175, android.sensor.accelerometer/42 completed
05-28 14:48:36.185: I/sensors-hal(676): batch:140, android.sensor.accelerometer/42, period=20000000, max_latency=0
05-28 14:48:36.188: I/sensors-hal(676): batch:149, android.sensor.accelerometer/42, period=20000000, max_latency=0 request completed
05-28 14:48:36.195: E/PhoneInterfaceManager(2215): [PhoneIntfMgr] getCarrierPrivilegeStatus: No UICC
05-28 14:48:36.318: I/Unity(9204): <color=red>Decompressing language model...

05-28 14:48:36.318: I/Unity(9204):
05-28 14:48:36.318: I/Unity(9204): (Filename: ./Runtime/Export/Debug.bindings.h Line: 45)
05-28 14:48:36.753: I/Unity(9204): <color=green>Decompress complete!

05-28 14:48:36.753: I/Unity(9204):
05-28 14:48:36.753: I/Unity(9204): (Filename: ./Runtime/Export/Debug.bindings.h Line: 45)
05-28 14:48:36.754: E/Unity(9204): Unable to find libpocketsphinxwrap
05-28 14:48:36.758: I/Unity(9204): <color=red>Initializing decoder...
05-28 14:48:36.758: I/Unity(9204):
05-28 14:48:36.758: I/Unity(9204): (Filename: ./Runtime/Export/Debug.bindings.h Line: 45)
05-28 14:48:36.778: I/cmusphinx(9204): INFO: pocketsphinx.c(152): Parsed model-specific feature parameters from /storage/emulated/0/Android/data/com.xxx.llll/files/en-us/feat.params
05-28 14:48:36.781: I/cmusphinx(9204): INFO: feat.c(715): Initializing feature stream to type: '1s_c_d_dd', ceplen=13, CMN='batch', VARNORM='no', AGC='none'
05-28 14:48:36.781: I/cmusphinx(9204): INFO: acmod.c(162): Using subvector specification 0-12/13-25/26-38
05-28 14:48:36.781: I/cmusphinx(9204): INFO: mdef.c(518): Reading model definition: /storage/emulated/0/Android/data/com.xxx.llll/files/en-us/mdef
05-28 14:48:36.782: I/cmusphinx(9204): INFO: mdef.c(531): Found byte-order mark BMDF, assuming this is a binary mdef file
05-28 14:48:36.782: I/cmusphinx(9204): INFO: bin_mdef.c(336): Reading binary model definition: /storage/emulated/0/Android/data/com.xxx.llll/files/en-us/mdef
05-28 14:48:36.787: I/cmusphinx(9204): INFO: bin_mdef.c(516): 42 CI-phone, 137053 CD-phone, 3 emitstate/phone, 126 CI-sen, 5126 Sen, 29324 Sen-Seq
05-28 14:48:36.787: I/cmusphinx(9204): INFO: tmat.c(149): Reading HMM transition probability matrices: /storage/emulated/0/Android/data/com.xxx.llll/files/en-us/transition_matrices
05-28 14:48:36.787: I/cmusphinx(9204): INFO: acmod.c(113): Attempting to use PTM computation module
05-28 14:48:36.788: I/cmusphinx(9204): INFO: ms_gauden.c(127): Reading mixture gaussian parameter: /storage/emulated/0/Android/data/com.xxx.llll/files/en-us/means
05-28 14:48:36.789: I/cmusphinx(9204): INFO: ms_gauden.c(242): 42 codebook, 3 feature, size:
05-28 14:48:36.789: I/cmusphinx(9204): INFO: ms_gauden.c(244): 128x13
05-28 14:48:36.789: I/chatty(9204): uid=10284(com.xxx.llll) UnityMain identical 1 line
05-28 14:48:36.789: I/cmusphinx(9204): INFO: ms_gauden.c(244): 128x13
05-28 14:48:36.789: I/cmusphinx(9204): INFO: ms_gauden.c(127): Reading mixture gaussian parameter: /storage/emulated/0/Android/data/com.xxx.llll/files/en-us/variances
05-28 14:48:36.789: I/cmusphinx(9204): INFO: ms_gauden.c(242): 42 codebook, 3 feature, size:
05-28 14:48:36.789: I/cmusphinx(9204): INFO: ms_gauden.c(244): 128x13
05-28 14:48:36.789: I/chatty(9204): uid=10284(com.xxx.llll) UnityMain identical 1 line
05-28 14:48:36.789: I/cmusphinx(9204): INFO: ms_gauden.c(244): 128x13
05-28 14:48:36.799: I/cmusphinx(9204): INFO: ms_gauden.c(304): 222 variance values floored
05-28 14:48:36.799: I/cmusphinx(9204): INFO: ptm_mgau.c(476): Loading senones from dump file /storage/emulated/0/Android/data/com.xxx.llll/files/en-us/sendump
05-28 14:48:36.799: I/cmusphinx(9204): INFO: ptm_mgau.c(500): BEGIN FILE FORMAT DESCRIPTION
05-28 14:48:36.799: I/cmusphinx(9204): INFO: ptm_mgau.c(563): Rows: 128, Columns: 5126
05-28 14:48:36.799: I/cmusphinx(9204): INFO: ptm_mgau.c(595): Using memory-mapped I/O for senones
05-28 14:48:36.799: I/cmusphinx(9204): INFO: ptm_mgau.c(838): Maximum top-N: 4
05-28 14:48:36.799: I/cmusphinx(9204): INFO: phone_loop_search.c(114): State beam -225 Phone exit beam -225 Insertion penalty 0
05-28 14:48:36.819: I/cmusphinx(9204): INFO: dict.c(320): Allocating 138883 * 20 bytes (2712 KiB) for word entries
05-28 14:48:36.820: I/cmusphinx(9204): INFO: dict.c(333): Reading main dictionary: /storage/emulated/0/Android/data/com.xxx.llll/files/en-us/dictionary
05-28 14:48:37.022: I/cmusphinx(9204): INFO: dict.c(213): Dictionary size 134782, allocated 1016 KiB for strings, 1680 KiB for phones
05-28 14:48:37.022: I/cmusphinx(9204): INFO: dict.c(336): 134782 words read
05-28 14:48:37.022: I/cmusphinx(9204): INFO: dict.c(358): Reading filler dictionary: /storage/emulated/0/Android/data/com.xxx.llll/files/en-us/noisedict
05-28 14:48:37.022: I/cmusphinx(9204): INFO: dict.c(213): Dictionary size 134787, allocated 0 KiB for strings, 0 KiB for phones
05-28 14:48:37.022: I/cmusphinx(9204): INFO: dict.c(361): 5 words read
05-28 14:48:37.022: I/cmusphinx(9204): INFO: dict2pid.c(396): Building PID tables for dictionary
05-28 14:48:37.022: I/cmusphinx(9204): INFO: dict2pid.c(406): Allocating 42^3 * 2 bytes (144 KiB) for word-initial triphones
05-28 14:48:37.039: I/cmusphinx(9204): INFO: dict2pid.c(132): Allocated 21336 bytes (20 KiB) for word-final triphones
05-28 14:48:37.040: I/cmusphinx(9204): INFO: dict2pid.c(196): Allocated 21336 bytes (20 KiB) for single-phone word triphones
05-28 14:48:37.040: I/cmusphinx(9204): INFO: kws_search.c(406): KWS(beam: -1080, plp: -23, default threshold -338, delay 10)
05-28 14:48:37.041: I/cmusphinx(9204): INFO: pocketsphinx.c(986): Writing raw audio file: /storage/emulated/0/Android/data/com.xxx.llll/files/000000000.raw
05-28 14:48:37.041: I/Unity(9204): <color=green>Decoder initialized!
05-28 14:48:37.041: I/Unity(9204):
05-28 14:48:37.041: I/Unity(9204): (Filename: ./Runtime/Export/Debug.bindings.h Line: 45)
05-28 14:48:41.478: I/com.xxx.llll(9204): ProcessProfilingInfo new_methods=0 is saved saved_to_disk=1 resolve_classes_delay=8000
05-28 14:48:50.541: I/MiuiChargeController(1893): checkBatteryStatus: chargeType 11 status 2 plugged 2 isRapidCharge false isSuperCharge false isCarMode false mChargeDeviceType -1 mChargeDeviceForAnalytic -1
05-28 14:48:50.542: I/MiuiChargeManager(1893): checkBatteryStatus: mChargeState 11 mChargeSpeed 0 mBatteryLevel 43 mChargeDeviceType -1 mIsCarMode false mWirelessChargeState -1
05-28 14:48:50.542: D/KeyguardUpdateMonitor(1893): received broadcast android.intent.action.BATTERY_CHANGED
05-28 14:48:50.542: D/KeyguardUpdateMonitor(1893): handleBatteryUpdate
05-28 14:48:50.544: I/BatteryInfoReceiver(3003): ACTION_BATTERY_CHANGED
05-28 14:48:50.543: D/QtiCarrierConfigHelper(2215): WARNING, no carrier configs on phone Id: 0
05-28 14:48:50.545: D/PowerCheckerService(5138): onBatteryChanged, mBatteryLevel = 43, status = 2, level = 43, plug = 2, scale = 100
05-28 14:48:50.549: I/MiuiChargeController(1893): checkBatteryStatus: chargeType 11 status 2 plugged 2 isRapidCharge false isSuperCharge false isCarMode false mChargeDeviceType -1 mChargeDeviceForAnalytic -1
05-28 14:48:50.550: I/MiuiChargeManager(1893): checkBatteryStatus: mChargeState 11 mChargeSpeed 0 mBatteryLevel 43 mChargeDeviceType -1 mIsCarMode false mWirelessChargeState -1
05-28 14:48:50.550: D/KeyguardUpdateMonitor(1893): received broadcast android.intent.action.BATTERY_CHANGED
05-28 14:48:50.551: D/QtiCarrierConfigHelper(2215): WARNING, no carrier configs on phone Id: 0
05-28 14:48:50.552: D/KeyguardUpdateMonitor(1893): handleBatteryUpdate
05-28 14:48:50.553: D/PowerCheckerService(5138): onBatteryChanged, mBatteryLevel = 43, status = 2, level = 43, plug = 2, scale = 100
05-28 14:48:50.555: I/BatteryInfoReceiver(3003): ACTION_BATTERY_CHANGED
05-28 14:48:52.582: E/storaged(869): getDiskStats failed with result NOT_SUPPORTED and size 0
05-28 14:48:53.045: I/PowerKeeperBackgroundService(5138): onStartCommand()
05-28 14:48:53.046: I/PowerKeeperService(5138): onAlarm
05-28 14:48:55.936: I/LOWI-8.6.0.39(991): [LOWI-Scan] lowi_close_record:Scan done in 756627097ms, 26 APs in scan results
05-28 14:48:55.941: D/WificondControl(1563): Scan result ready event
05-28 14:48:55.955: D/WifiGbk(1563): adding bss - Bss("魅蓝 S6":fc:53:9e:bb:70:07, isGbk=false, security=PSK, level=-82, frequency=2412)
05-28 14:48:58.610: D/IdProviderImpl(2112): getOAID
05-28 14:49:00.005: D/KeyguardUpdateMonitor(1893): handleTimeUpdate

@Funnyguy77
Copy link
Owner

Hi there!

We will probably need more information on your general project setup. However, I've seen this issue in the past when attempting to generate a build using IL2CPP.

In the past I've needed to export the Unity project to Android Studio and import the missing ARM64 library. Here's a link to a working ARM64 library.

@KevinLDAS
Copy link

KevinLDAS commented Jun 16, 2020

I'm getting this error as well. Tried using Unity 2019, and Unity 2018. Didn't compile with IL2CPP. If you've gotten it to work with the ARM64 lib, how would you import it to Android Studio? I know how to export a project, I'm just not as familiar with using Android Studio.
Edit: I should also mentioned when I say "Tried using Unity 2019 and Unity 2018" those were clean installs of the project, without changing the project settings.

@ignacioambrois
Copy link

ignacioambrois commented Jun 29, 2020

Hey there,

I'm in the same boat as KevinLDAS. Building the project, as-is, using Unity 2018 LTS with the Mono scripting backend. I've disabled the x86 target architecture just to make sure the correct binary is being used and I'm getting the same error. Here's my log:

2020-06-29 18:51:56.976 28987-29003/? I/Unity: SystemInfo ARM big.LITTLE configuration: 2 big (mask: 0xc), 2 little (mask: 0x3)
2020-06-29 18:51:56.976 28987-29003/? I/Unity: ApplicationInfo com.ignacioambrois.sphinxdemo version 3 build d13d3c9e-86f7-4f21-ac34-bac735b5b430
2020-06-29 18:51:56.976 28987-29003/? I/Unity: Built from '2018.4/staging' branch, Version '2018.4.23f1 (c9cf1a90e812)', Build type 'Release', Scripting Backend 'mono', CPU 'armeabi-v7a'
2020-06-29 18:51:57.163 28987-29003/? 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_EXT_mul
2020-06-29 18:51:57.163 28987-29003/? D/Unity: tisampled_render_to_texture2 GL_OES_shader_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_external_buffer GL_EXT_blit_framebuffer_params GL_EXT_clip_cull_distance
2020-06-29 18:51:57.163 28987-29003/? D/Unity:  GL_EXT_protected_textures GL_EXT_shader_non_constant_global_initializers GL_QCOM_texture_foveated GL_QCOM_shader_framebuffer_fetch_noncoherent GL_EXT_memory_object GL_EXT_memory_object_fd GL_EXT_EGL_image_array GL_NV_shader_noperspective_interpolation
2020-06-29 18:52:00.548 28987-29003/? I/Unity: <color=red>Decompressing language model...</color>
     
    (Filename: ./Runtime/Export/Debug.bindings.h Line: 45)
2020-06-29 18:52:01.685 28987-29003/? I/Unity: <color=green><b>Decompress complete!</b></color>
     
    (Filename: ./Runtime/Export/Debug.bindings.h Line: 45)
2020-06-29 18:52:01.688 28987-29003/? E/Unity: Unable to find libpocketsphinxwrap
2020-06-29 18:52:01.696 28987-29003/? I/Unity: <color=red>Initializing decoder...</color>
     
    (Filename: ./Runtime/Export/Debug.bindings.h Line: 45)
2020-06-29 18:52:01.776 28987-29003/? I/chatty: uid=10668(u0_a668) UnityMain identical 1 line
2020-06-29 18:52:01.778 28987-29003/? I/chatty: uid=10668(u0_a668) UnityMain identical 1 line
2020-06-29 18:52:02.210 28987-29003/? I/Unity: <color=green><b>Decoder initialized!</b></color>

Any idea what might be causing this? I'd really like to use this example for a Vive Focus app I'm building.

Thanks!

@DrSharky
Copy link

DrSharky commented Aug 11, 2020

I think I found a solution to this, sort of.
I stumbled across this, and renaming all references of libpocketsphinxwrap to pocketsphinxwrap removed the error:
https://answers.unity.com/questions/780006/how-to-make-android-native-plugin-working-with-uni.html
However, it still doesn't actually recognize anything or do much at all when I run the test scene. I modified the example script to listen for a touch instead of pressing the spacebar. I can't get the basic example to recognize "this is a test".
Even stranger, when I first downloaded and ran the scene in the editor, it would actually work. Then, after trying these changes, and then reverting them back to see if the original would work, now it won't even run in the editor.
I'm beyond confused.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants