We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I am using adt-bundle-linux-x86-20140321, also tried the 64-bit version, in ubuntu 14.04 64 bit version. My uname -a is:
3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
And it gives me this error every time I run my code:
-set-mode-check:
-set-debug-files:
-check-env: Android SDK Tools Revision 22.6.3 Installed at /home/eraser/Escritorio/processing-2.1.2/adt-bundle-linux-x86-20140321/sdk
-setup: [echo] Project Name: Paint Project Type: Application
-set-debug-mode:
-debug-obfuscation-check:
-pre-build:
-build-setup: Using latest Build Tools: 19.0.3 [echo] Resolving Build Target for Paint... Project Target: Android 2.3.3 API level: 10 [echo] ---------- [echo] Creating output directories if needed... [mkdir] Created dir: /tmp/android594594058677452790sketch/bin [mkdir] Created dir: /tmp/android594594058677452790sketch/bin/res [mkdir] Created dir: /tmp/android594594058677452790sketch/bin/rsObj [mkdir] Created dir: /tmp/android594594058677452790sketch/bin/rsLibs [mkdir] Created dir: /tmp/android594594058677452790sketch/gen [mkdir] Created dir: /tmp/android594594058677452790sketch/bin/classes [mkdir] Created dir: /tmp/android594594058677452790sketch/bin/dexedLibs [echo] ---------- [echo] Resolving Dependencies for Paint... Library dependencies: No Libraries
API<=15: Adding annotations.jar to the classpath. [echo] ---------- [echo] Building Libraries with 'debug'... [subant] No sub-builds to iterate on
-code-gen: Merging AndroidManifest files into one. Manifest merger disabled. Using project manifest only. [echo] Handling aidl files... No AIDL files to compile. [echo] ---------- [echo] Handling RenderScript files... [echo] ---------- [echo] Handling Resources... Generating resource IDs...
BUILD FAILED /home/eraser/Escritorio/processing-2.1.2/adt-bundle-linux-x86-20140321/sdk/tools/ant/build.xml:653: The following error occurred while executing this line: /home/eraser/Escritorio/processing-2.1.2/adt-bundle-linux-x86-20140321/sdk/tools/ant/build.xml:698: Execute failed: java.io.IOException: Cannot run program "/home/eraser/Escritorio/processing-2.1.2/adt-bundle-linux-x86-20140321/sdk/build-tools/android-4.4.2/aapt" (in directory "/tmp/android594594058677452790sketch"): error=2, No existe el archivo o el directorio at java.lang.ProcessBuilder.start(ProcessBuilder.java:1041) at java.lang.Runtime.exec(Runtime.java:617) at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:862) at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:481) at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:495) at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:631) at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:672) at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:498) at com.android.ant.AaptExecTask.execute(AaptExecTask.java:699) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68) at com.android.ant.IfElseTask.execute(IfElseTask.java:120) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:398) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:390) at org.apache.tools.ant.Target.performTasks(Target.java:411) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) at org.apache.tools.ant.Project.executeTarget(Project.java:1368) at processing.mode.android.AndroidBuild.antBuild(AndroidBuild.java:415) at processing.mode.android.AndroidBuild.build(AndroidBuild.java:73) at processing.mode.android.AndroidMode.handleRunDevice(AndroidMode.java:220) at processing.mode.android.AndroidEditor$14.run(AndroidEditor.java:310) Caused by: java.io.IOException: error=2, No existe el archivo o el directorio at java.lang.UNIXProcess.forkAndExec(Native Method) at java.lang.UNIXProcess.(UNIXProcess.java:135) at java.lang.ProcessImpl.start(ProcessImpl.java:130) at java.lang.ProcessBuilder.start(ProcessBuilder.java:1022) ... 44 more
Total time: 1 second
They say it's because I have not installed the ia32-libs, but I have tried BOTH versions (64 and 32 bits) and gives me the same error in BOTH, apart that ia32-libs is supposed to patch 32 bit only, it should have worked on the 64 bit version I tried. I have installed ALL the SDK'S and APIS on the SDK manager, checked out the aapt in it's folder and it is THERE, I have ran out of ideas totally, someone please tell me what the heck is missing.
Two days trying to solve this, please save my ass xd