ant_rules_r3.xml: 336 error
in
Android Processing
•
3 years ago
Hi,
Might anybody know the solution?
I saw someone else with an
ant_rules_r3.xml : error topic, but my question is different.
I cannot seem to compile for my phone or for an emulator.
I am using processing version 0190.
I get this output when i try to "present":
- Android SDK Tools Revision 7
- Project Target: Google APIs
- Vendor: Google Inc.
- Platform Version: 2.1-update1
- API level: 7
- ------------------
- Resolving library dependencies:
- ------------------
- Ordered libraries:
- ------------------
- Importing rules file: tools\ant\ant_rules_r3.xml
- BUILD FAILED
- C:\android-sdk_r06-windows\tools\ant\ant_rules_r3.xml:336: Compile failed; see the compiler error output for details.
- Total time: 0 seconds
- C:\android-sdk_r06-windows\tools\ant\ant_rules_r3.xml:336: Compile failed; see the compiler error output for details.
- at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:999)
- at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:820)
- at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
- at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:613)
- at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
- at org.apache.tools.ant.Task.perform(Task.java:348)
- at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)
- at com.android.ant.IfElseTask.execute(IfElseTask.java:88)
- at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
- at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:613)
- at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
- at org.apache.tools.ant.Task.perform(Task.java:348)
- at org.apache.tools.ant.Target.execute(Target.java:357)
- at org.apache.tools.ant.Target.performTasks(Target.java:385)
- at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
- at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
- at processing.app.tools.android.Build.antBuild(Unknown Source)
- at processing.app.tools.android.AndroidMode.runSketchOnDevice(Unknown Source)
- at processing.app.tools.android.AndroidMode.access$600(Unknown Source)
- at processing.app.tools.android.AndroidMode$PresentHandler.run(Unknown Source)
- at java.lang.Thread.run(Thread.java:717)
- createProject renameTo() failed, resorting to mv/move instead.
- java.io.IOException: Cannot run program "mv": CreateProcess error=2, The system cannot find the file specified
- at java.lang.ProcessBuilder.start(ProcessBuilder.java:1024)
- at java.lang.Runtime.exec(Runtime.java:610)
- at java.lang.Runtime.exec(Runtime.java:483)
- at processing.app.exec.ProcessHelper.execute(ProcessHelper.java:65)
- at processing.app.tools.android.Build.createExportFolder(Unknown Source)
- at processing.app.tools.android.AndroidMode.buildReleaseForExport(Unknown Source)
- at processing.app.tools.android.AndroidMode.access$800(Unknown Source)
- at processing.app.tools.android.AndroidMode$ExportHandler.run(Unknown Source)
- at java.lang.Thread.run(Thread.java:717)
- Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
- at java.lang.ProcessImpl.create(Native Method)
- at java.lang.ProcessImpl.<init>(ProcessImpl.java:155)
- at java.lang.ProcessImpl.start(ProcessImpl.java:99)
- at java.lang.ProcessBuilder.start(ProcessBuilder.java:1016)
- ... 8 more
When I turn 'android mode' Off, and then run 'present', the sketch works just fine..
2