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

Does WebViewJar support Arm64 platform ? #2

Open
gaorongfu opened this issue Jun 4, 2020 · 2 comments
Open

Does WebViewJar support Arm64 platform ? #2

gaorongfu opened this issue Jun 4, 2020 · 2 comments

Comments

@gaorongfu
Copy link

I try to build it on unbuntu 64bit for arm64, and the hardware is raspberry PI 3B+. when I run build_linux.sh, I got the error such like Couldn't load library webview...

@gaorongfu
Copy link
Author

Sorry, That exception is throw when I run these test:
java -jar WebView.jar http://www.baidu.com

@gaorongfu
Copy link
Author

java.io.IOException: Couldn't load library library webview
at ca.weblite.webview.nativelib.NativeLoader.loadLibrary(NativeLoader.java:141)
at ca.weblite.webview.WebViewNative.(WebViewNative.java:24)
at ca.weblite.webview.WebView.show(WebView.java:230)
at ca.weblite.webview.WebViewCLI.init(WebViewCLI.java:66)
at ca.weblite.webview.WebViewCLI.main(WebViewCLI.java:314)
Caused by: java.lang.UnsatisfiedLinkError: no webview in java.library.path: [/usr/java/packages/lib, /usr/lib/aarch64-linux-gnu/jni, /lib/aarch64-linux-gnu, /usr/lib/aarch64-linux-gnu, /usr/lib/jni, /lib, /usr/lib]
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2670)
at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:830)
at java.base/java.lang.System.loadLibrary(System.java:1870)
at ca.weblite.webview.nativelib.NativeLoader.loadLibrary(NativeLoader.java:136)
... 4 more

Exception in thread "main" java.lang.UnsatisfiedLinkError: 'long ca.weblite.webview.WebViewNative.webview_create(int, long)'
at ca.weblite.webview.WebViewNative.webview_create(Native Method)
at ca.weblite.webview.WebView.show(WebView.java:230)
at ca.weblite.webview.WebViewCLI.init(WebViewCLI.java:66)
at ca.weblite.webview.WebViewCLI.main(WebViewCLI.java:314)

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

1 participant