🌐 AI搜索 & 代理 主页
Skip to content

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

@awsong

Description

@awsong

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions