You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've a scenario where I want to create a class in runtime then use it. I tried using the code provided here but it just light up like Christmas tree. Some of the packages don't work in the Android.
Here is a list of them
import javax.tools.Diagnostic;
import javax.tools.DiagnosticCollector;
import javax.tools.JavaCompiler;
import javax.tools.JavaFileObject;
import javax.tools.ToolProvider;
import javax.tools.SimpleJavaFileObject;
import javax.tools.FileObject;
import javax.tools.ForwardingJavaFileManager;
import javax.tools.JavaFileManager;
Is there is anyway where I can overcome them or use something else that exist in Android to do the same thing?
P.S
I understand that javax doesn't exist in Android. I'm just wandering if there exist something equivalent to it.
Same issue here. I'm afraid this might work only with workarounds. See javax.* cannot be imported in my Android app and other answers. But I give up. Looks like too much work at the moment.
Activity
he-dev commentedon May 23, 2020
Same issue here. I'm afraid this might work only with workarounds. See javax.* cannot be imported in my Android app and other answers. But I give up. Looks like too much work at the moment.