compose-webview-multiplatform
compose-webview-multiplatform copied to clipboard
Linux Build Not running
Problem when running in the linux platform
Task :composeApp:run [DefaultDispatcher-worker-1] INFO commons.Log - Initializing KCEF on /home/mathan/.local/share/TrueCast/ Could not load 'jcef' library Could not load 'cef' library JCEF(53:56:224): initialized stderr logger, severity=LOGSEVERITY_DEFAULT JCEF_I(53:56:225): CefApp: set state NEW
LaunchedEffect(Unit) {
withContext(Dispatchers.IO) {
KCEF.init(builder = {
Log.i("main", "Initializing KCEF on ${platform.directory}")
installDir(File(platform.directory + "kcef-bundle"))
progress {
onDownloading {
initialLaunchPreventScreen = false
downloading = String.format(Locale.ENGLISH, "%.2f", it)
}
onInitialized {
initialLaunchPreventScreen = false
initialized = true
}
}
release("jbr-release-17.0.10b1087.23")
settings {
cachePath = File(platform.directory + "cache").absolutePath
}
}, onError = {
it?.printStackTrace()
initialLaunchPreventScreen = false
initialized = true
}, onRestartRequired = {
restartRequired = true
})
}
}