When I try to use java.applet.Applet, I get a runtime error:
java.lang.NoClassDefFoundError: java.applet.Applet
I have tried to put that library manually, but I get the same error.
I have done the same with other libraries and it worked, but not with this one.
That is because that class does not exist in Android.
java.applet.Appletis a class. It is not a library.You don’t. Most likely, you rewrite the code to use the Android UI framework, the same as if you had a Swing or SWT Java desktop application, or a Java servlet.