3 Answers. As mentioned, the java library cannot include any android resources such as layouts, values, colors, styles.13 Oca 2015
Read moreIs Android a Java library?
The Android platform contains a large number of shared Java libraries that can optionally be included in the classpath of apps with the <uses-library> tag in the app manifest.
Read moreIs Java supported on Android?
By your definition, Android does not support any version of Java . The java and javax classes in the Android SDK do not exactly match any version of Java, whether a numerical version (e.g., 6, 7, 8) or whatever you want to consider Java SE/EE/ME to be.
Read more