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

webview plug in android complains 'Didn't find class "com/inkeliz/webview/sys_android"' #45

Open
awsong opened this issue Jun 9, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@awsong
Copy link

awsong commented Jun 9, 2023

Affected plugin
WebViewer

Describe the bug
A clear and concise description of what the bug is.

Expected behavior
I followed WebViewer's instruction, but when ever I call webviewer.WebViewOp{Tag: new(int)}.Push(gtx.Ops) the app will crash.
logcat error shows:
06-09 17:02:00.315 10474 0 E Go : panic: java.lang.ClassNotFoundException: Didn't find class "com/inkeliz/webview/sys_android" on path: DexPathList[[zip file "/data/app/~~U4IeYUXlfsBl5UbjD5FE_Q==/com.myapp.ipn-8uhBTZkYSnEuFtckM_lbFg==/base.apk"],nativeLibraryDirectories=[/data/app/~~U4IeYUXlfsBl5UbjD5FE_Q==/com.myapp.ipn-8uhBTZkYSnEuFtckM_lbFg==/lib/arm64, /data/app/~~U4IeYUXlfsBl5UbjD5FE_Q==/com.myapp.ipn-8uhBTZkYSnEuFtckM_lbFg==/base.apk!/lib/arm64-v8a, /system/lib64, /system/system_ext/lib64]]

To Reproduce
I did run plugin.Install(window, evt) before calling webviewer.WebViewOp

Reproducible code

Introduce the minimum code to reproduce the issue.

Smartphone (please complete the following information):

  • Device: OnePlus 7pro
  • OS: Android
  • Version 11

Additional context
Add any other context about the problem here.

@awsong awsong added the bug Something isn't working label Jun 9, 2023
@inkeliz
Copy link
Contributor

inkeliz commented Jun 9, 2023

I push one small change, to fix .jar. But, I'm not sure if that issue is fixed, I'm take a look later. :)

@awsong
Copy link
Author

awsong commented Jun 9, 2023

seems not. I updated to latest plugin module
github.com/gioui-plugins/gio-plugins v0.0.0-20230609115442-5d1d7feeafdd
the problem was still there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants