Hi all,
I am adding some java libraries (in .java format) into the android
project following the same folder root as in java (java/awt/ ...) and
I get the following error:
Conversion to Dalvik format failed with error 1
trouble processing "java/awt/AWTColor.class":
Question 1: Is that because internally (not visible at the .jar file)
Android uses that specific class? How can I avoid this?
Then I tried to use a build.xml file in which it stops at the
following fragmen of code (javac encoding="ascii" ...):
<!-- Compile this project's .java files into .class files. -->
<target name="compile" depends="dirs, resource-src, aidl">
<javac encoding="ascii" target="1.5" debug="true" extdirs=""
srcdir="." destdir="${outdir-classes}" bootclasspath="${android-jar}"
nowarn="">
<classpath>
<fileset dir="${external-libs}"
includes="*.jar" />
</classpath>
</javac>
</target>
It says:
BUILD FAILED
d/build.xml:163: Compile failed; see the compiler error output for
details.
The problem is, I don't know if this compiler error is the same as the
previous one, or if I have to execute some application to watch the
error log. In that case...
Question 2: How can I read the error output for details?
Thanks in advance, I would really appreciate your help.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---