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.
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
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.