-
Notifications
You must be signed in to change notification settings - Fork 12
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
Comments
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. |
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. |
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:
Any idea what might be causing this? I'd really like to use this example for a Vive Focus app I'm building. Thanks! |
I think I found a solution to this, sort of. |
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: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
The text was updated successfully, but these errors were encountered: