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
this is NOT an Android project, and there is no Activity in it, you should create new Android project and include this library.
an instance of Activity and res are required by this library, please invoke "hc.android.J2SEInitor.init(Object[] paras)" in construction and pass them in. For more detail, see method "init".
the files in res directory should be copied to your res directory of Android project.
Important
you can't dex if there is class in package "java" or "javax" without option "--core-library".
the file "dx.jar" is removed the check code for "--core-library", so it is not required to set option "--core-library" in Eclipse to debug your project.
copy a backup of original dx.jar of your ADT, replace [adt-home]/sdk/build-tools/android-X.X/lib/dx.jar with this dx.jar.
About
"J2SE for Android" provides Swing and AWT classes, so you can run J2SE application on Android with this library.