lib: revert System.load back to System.loadLibrary
This commit is contained in:
parent
f10a45f530
commit
3fa3c15c5c
|
|
@ -128,7 +128,7 @@ internal class InferenceEngineImpl private constructor(
|
|||
}
|
||||
_state.value = InferenceEngine.State.Initializing
|
||||
Log.i(TAG, "Loading native library...")
|
||||
System.load(File(nativeLibDir, "libai-chat.so").absolutePath)
|
||||
System.loadLibrary("ai-chat")
|
||||
init(nativeLibDir)
|
||||
_state.value = InferenceEngine.State.Initialized
|
||||
Log.i(TAG, "Native library loaded! System info: \n${systemInfo()}")
|
||||
|
|
|
|||
Loading…
Reference in New Issue