As is the case for the Java SE class System, the Android System class allows retrieving system properties. However, some mandatory properties defined with the Java virtual machine have no meaning or a different meaning on Android. For example:
Current versions of Android use the latest Java language and its libraries (but not full graphical user interface (GUI) frameworks), not the Apache Harmony Java implementation, that older versions used. Java 8 source code that works in latest version of Android, can be made to work in older versions of Android.3
By default, the default output stream System.out and System.err do not output anything,4 and developers are encouraged to use the Log class, which logs Strings on the LogCat tool.5 This has changed at least from HoneyComb, and they now output to the log console also.
Android does not use the Abstract Window Toolkit nor the Swing library. User interfaces are built using View objects. Android uses a framework similar to Swing, based on Views rather than JComponents. However, Android widgets are not JavaBeans: the Android application Context must be provided to the widget at creation.
Android widget library does not support a pluggable look and feel architecture. The look and feel of Android widgets must be embedded in the widgets. However, a limited ability exists to set styles and themes for an application.6
Contrary to Swing where layout managers can be applied to any container widget, Android layout behavior is encoded in the containers.7
Android includes only a small subset of the java.beans package (PropertyChangeEvent and related classes).
Rose, John (2008-05-31). "with Android and Dalvik at Google I/O". Archived from the original on 2008-06-04. Retrieved 2008-06-08. https://web.archive.org/web/20080604070631/http://blogs.sun.com/jrose/entry/with_android_and_dalvik_at ↩
Fred Chung (2011-07-28). "Custom Class Loading in Dalvik". Google. Archived from the original on 2014-02-18. Retrieved 2011-11-27. https://web.archive.org/web/20140218204452/http://android-developers.blogspot.com/2011/07/custom-class-loading-in-dalvik.html ↩
"Use Java 8 language features and APIs". Android Developers. Retrieved 2021-01-23. https://developer.android.com/studio/write/java8-support ↩
"Android Debug Bridge". Google. Retrieved 2009-05-31. By default, the Android system sends stdout and stderr (System.out and System.err) output to /dev/null. https://developer.android.com/guide/developing/tools/adb.html ↩
"Reading and Writing Logs". Google. Archived from the original on 2011-11-22. Retrieved 2011-11-27. https://web.archive.org/web/20111122031803/http://developer.android.com/guide/developing/debugging/debugging-log.html ↩
"Applying Styles and Themes". Google. Archived from the original on 2014-03-28. Retrieved 2011-09-03. https://web.archive.org/web/20140328224922/http://developer.android.com/guide/topics/ui/themes.html#ApplyAStyle ↩
"Common Layout Objects". Google. Retrieved 2011-09-03. https://developer.android.com/guide/topics/ui/layout-objects.html ↩