arrow_back AndroidJavaException: java.lang.ClassNotFoundException. How to solve it?

0 votes

I use Easy Mobile Pro.
One error in two places and it cycles:
1. AndroidJavaException: java.lang.ClassNotFoundException:
2. AndroidJavaException: java.lang.ClassNotFoundException:

What Should Happen: When you click on the button, a banner adverts with a reward will be shown.

The initialization hangs on the Empty object, which also has display functions that use buttons.

1 Answer

Best answer
0 votes
Right-click on My Computer - Properties - Advanced System Settings - Environment Variables - System Variables.
Here you add the JAVA_HOME variable
and value (JDK path)

And also in this path C:\Users\Your user\.gradle\wrapper\dists
remove gradle 5.1.1-bin (you may have a different version, the essence does not change)

And everything works great.

Video (ENG):