gree / gree/unity-webview

AndroidJavaException: java.lang.ClassNotFoundException

Open
#457 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Objective-C++
Stars
2.7k
Forks
734
Avg merge
11h 39m
Merged PRs (30d)
1

Description

Hi.

Is there a way to solve the error ??

It works fine on an empty project, but only issues with the project in progress.

I need help...

E/Unity: AndroidJavaException: java.lang.ClassNotFoundException: net.gree.unitywebview.CWebViewPlugin
java.lang.ClassNotFoundException: net.gree.unitywebview.CWebViewPlugin
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:453)
at java.lang.Class.forName(Class.java:378)
at com.unity3d.player.UnityPlayer.nativeRender(Native Method)
at com.unity3d.player.UnityPlayer.c(Unknown Source:0)
at com.unity3d.player.UnityPlayer$e$2.queueIdle(Unknown Source:72)
at android.os.MessageQueue.next(MessageQueue.java:395)
at android.os.Looper.loop(Looper.java:181)
at com.unity3d.player.UnityPlayer$e.run(Unknown Source:32)
Caused by: java.lang.ClassNotFoundException: Didn't find class "net.gree.unitywebview.CWebViewPlugin" on path: DexPathList

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the AndroidJavaException in the in-progress project and compare its Android build setup with the empty project where it works. Investigate why net.gree.unitywebview.CWebViewPlugin is absent from the reported DexPathList; done means the class loads successfully in the affected project.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, unity
Domain
game-dev, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.