Note that there are some explanatory texts on larger screens.

plurals
  1. USJBishop
    primarykey
    data
    text
    plurals
    1. This table or related slice is empty.
    1. COThank you, this is of some help, although not exactly what I need. I've created a project in NetBeans with the same sources, executed "Clean and Build", and the information that appears in the output windows is what I need. Is there a way to have this kind of "javac" output from Eclipse?
      singulars
    2. COI'll mark this answer as correct, since it seems to be the common practice. Since it is the Java bytecode that is translated to Dalvik bytecode (and not the source code) even code specific from Java 6, 7, etc... can work, since the bytecode format is the same (as long as you don't use Classes or methods that do not exist in the Android API). However, I've noticed subtle differences between recent Java APIs and older Android APIs (e.g., 2.2), such as the lack of some of the enumeration values in the TimeUnit class. In some cases, I'm using solution 2).
      singulars
    3. COTo make the question more clear: the original project was in NetBeans, for Java SE. I copied the source code to an Eclipse Android project. If the source code was shared, I would have compile-time checks for both Android and SE, instead of finding the problems at runtime by importing an external JAR. I want to know if is there any "right way" of having this functionality, using only Eclipse. (it may be the case that importing the external JAR is the only solution)
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload