Compilation failed

hi guys, i am new to jmonkey



i was trying to run an android jmonkey application


  • i installed Android’s SDK and Jmonkey
  • i installed the plugin for android
  • i have created a new Android Project
  • i needed to import these librairies:

    import java.awt.BasicStroke;<br /> import java.awt.Color;

    import java.awt.Dimension;<br /> import java.awt.Event; etc …

    but they didn’t work so i entered the project’s properties and specified the location of the jre in the JAR Libraries section
  • now that the code is correct i run the android application



    i got this error:





    C:Program Files (x86)Androidandroid-sdk-windowstoolsantmain_rules.xml:384: warning: ‘includeantruntime’ was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds

    Compiling 2 source files to C:ProgramsjMonkeyProjectsAndroidApplication_testbinclasses

    Converting compiled files and external libraries into C:ProgramsjMonkeyProjectsAndroidApplication_testbinclasses.dex…

    Files was unexpected at this time.

    C:Program Files (x86)Androidandroid-sdk-windowstoolsantmain_rules.xml:486: The following error occurred while executing this line:

    C:Program Files (x86)Androidandroid-sdk-windowstoolsantmain_rules.xml:203: apply returned: 255



    after searching on the net i found that i should add to the build.xml file

    then when running i got this new error :

    C:ProgramsjMonkeyProjectsAndroidApplication_testbuild.xml:5: Compile failed; see the compiler error output for details.





    guys please i need help to solve this problem (also if someone can tell me how can i see the compiler error output)

    thanks in advance

AWT is not part of android

man it worked i have imported the classes



the prob is with the compilation

I will close this thread as you have another one open already. My comment still stands, I will add that your main problem is you don’t know what you are doing there at all.