Unity AndroidJavaException: java.lang.ClassNotFoundException: net.gree.unitywebview.CWebViewPlugin
Nobody has claimed this yet.
- Dominant language
- Objective-C++
- Stars
- 2.7k
- Forks
- 734
- Avg merge
- 11h 39m
- Merged PRs (30d)
- 1
Description
Unity: 2022.3.12f1
Platform: Android
Builded from: MacOS
Exception type: Build only
Represent:
- installing unity-web by package manager
- trying to call Init() method
2023/12/23 00:29:05.744 31590 31626 Error Unity AndroidJavaException: java.lang.ClassNotFoundException: net.gree.unitywebview.CWebViewPlugin
2023/12/23 00:29:48.885 32070 32098 Error Unity AndroidJavaException: java.lang.ClassNotFoundException: net.gree.unitywebview.CWebViewPlugin
2023/12/23 00:29:48.885 32070 32098 Error Unity java.lang.ClassNotFoundException: net.gree.unitywebview.CWebViewPlugin
2023/12/23 00:29:48.885 32070 32098 Error Unity at java.lang.Class.classForName(Native Method)
2023/12/23 00:29:48.885 32070 32098 Error Unity at java.lang.Class.forName(Class.java:454)
2023/12/23 00:29:48.885 32070 32098 Error Unity at com.unity3d.player.UnityPlayer.nativeRender(Native Method)
2023/12/23 00:29:48.885 32070 32098 Error Unity at com.unity3d.player.UnityPlayer.-$$Nest$mnativeRender(Unknown Source:0)
2023/12/23 00:29:48.885 32070 32098 Error Unity at com.unity3d.player.UnityPlayer$F$a.handleMessage(Unknown Source:122)
2023/12/23 00:29:48.885 32070 32098 Error Unity at android.os.Handler.dispatchMessage(Handler.java:103)
2023/12/23 00:29:48.885 32070 32098 Error Unity at android.os.Looper.loop(Looper.java:224)
2023/12/23 00:29:48.885 32070 32098 Error Unity at com.unity3d.player.UnityPlayer$F.run(Unknown Source:24)
2023/12/23 00:29:48.885 32070 32098 Error Unity Caused by: java.lang.ClassNotFoundException: Didn't find class "net.gree.unitywebview.CWebViewPlugin" on path: DexPathList[[zip file "/data/app/com.campstudio.test-W5xn88YD7Jt2D6p1xyxfog==/base.apk"],nativeLibraryDirectories=[/data/app/com.campstudio.test-W5xn88YD7Jt2D6p1xyxfog==/lib/arm64, /data/app/com.campstudio.test-W5xn88YD7Jt2D6p1xyxfog==/base.apk!/lib/arm64-v8a, /system/lib64, /product
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the Android build from Unity 2022.3.12f1 after installing unity-web through the package manager, then call Init() and inspect the reported AndroidJavaException. The issue is complete when the build can load net.gree.unitywebview.CWebViewPlugin without a ClassNotFoundException.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, unity
- Domain
- game-dev, mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100