java.io.IOException: Cannot run program "/home/deic/android-sdk-linux/build-tools/21.1.1/aapt": error=2, No existe el archivo o el directorio

GitHub | DeicPro | 7 months ago
  1. 0

    GitHub comment 69#218098014

    GitHub | 7 months ago | DeicPro
    java.io.IOException: Cannot run program "/home/deic/android-sdk-linux/build-tools/21.1.1/aapt": error=2, No existe el archivo o el directorio
  2. 0

    Execute failed: java.io.IOException: Cannot run program

    GitHub | 1 year ago | scsidisk
    java.io.IOException: Cannot run program "/Users/scsidisk/test/hello-world/platforms/android/${aapt}" (in directory "/Users/scsidisk/test/hello-world/platforms/android"): error=2, No such file or directory
  3. 0

    Android - Processing Build not compiling

    Stack Overflow | 3 years ago | user2383501
    java.io.IOException: Cannot run program "/home/user/adt-bundle-linux-x86_64-20130729/sdk/build-tools/18.0.1/aapt" (in directory "/tmp/android8933435574063638939sketch"): java.io.IOException: error=2, No such file or directory
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    how to import cordova project to android studio?

    Stack Overflow | 1 year ago | Deepak Tripathi
    java.io.IOException: Cannot run program "D:\Developement\PhoneGap\test\platfo rms\android\CordovaLib\${aapt}" (in directory "D:\Developement\PhoneGap\test\pla tforms\android\CordovaLib"): CreateProcess error=2, The system cannot find the f ile specified
  6. 0

    Issue 176488 - android - ${aapt} not found in sdk-tools 24.*, but ok in 23.0.5 - Android Open Source Project - Issue Tracker - Google Project Hosting

    google.com | 7 months ago
    java.io.IOException: Cannot run program "/Users/antbuilt/XXX/${aapt}" (in directory "/Users/antbuilt/XXX"): error=2, No such file or directory

  1. Handemelindo 6 times, last 1 month ago
  2. kid 5 times, last 1 month ago
  3. rp 2 times, last 2 months ago
  4. jk 1 times, last 5 months ago
  5. Akshay 5 times, last 5 months ago
2 more registered users
75 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.IOException

    error=2, No existe el archivo o el directorio

    at java.lang.UNIXProcess.forkAndExec()
  2. Java RT
    Runtime.exec
    1. java.lang.UNIXProcess.forkAndExec(Native Method)
    2. java.lang.UNIXProcess.<init>(UNIXProcess.java:187)
    3. java.lang.ProcessImpl.start(ProcessImpl.java:130)
    4. java.lang.ProcessBuilder.start(ProcessBuilder.java:1028)
    5. java.lang.Runtime.exec(Runtime.java:617)
    5 frames
  3. Ant
    ExecTask.execute
    1. org.apache.tools.ant.taskdefs.launcher.Java13CommandLauncher.exec(Java13CommandLauncher.java:58)
    2. org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:428)
    3. org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:442)
    4. org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:629)
    5. org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:670)
    6. org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:496)
    6 frames
  4. com.android.ant
    AaptExecTask.execute
    1. com.android.ant.AaptExecTask.execute(AaptExecTask.java:703)
    1 frame
  5. Ant
    UnknownElement.execute
    1. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
    1 frame
  6. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    3. java.lang.reflect.Method.invoke(Method.java:606)
    3 frames
  7. Ant
    Sequential.execute
    1. org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    2. org.apache.tools.ant.Task.perform(Task.java:348)
    3. org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
    3 frames
  8. com.android.ant
    IfElseTask.execute
    1. com.android.ant.IfElseTask.execute(IfElseTask.java:120)
    1 frame
  9. Ant
    UnknownElement.execute
    1. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
    1 frame
  10. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    3. java.lang.reflect.Method.invoke(Method.java:606)
    3 frames
  11. Ant
    UnknownElement.execute
    1. org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    2. org.apache.tools.ant.Task.perform(Task.java:348)
    3. org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
    4. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
    4 frames
  12. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    3. java.lang.reflect.Method.invoke(Method.java:606)
    3 frames
  13. Ant
    UnknownElement.execute
    1. org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    2. org.apache.tools.ant.Task.perform(Task.java:348)
    3. org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:396)
    4. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
    4 frames
  14. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    3. java.lang.reflect.Method.invoke(Method.java:606)
    3 frames
  15. Ant
    Main.startAnt
    1. org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    2. org.apache.tools.ant.Task.perform(Task.java:348)
    3. org.apache.tools.ant.Target.execute(Target.java:435)
    4. org.apache.tools.ant.Target.performTasks(Target.java:456)
    5. org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
    6. org.apache.tools.ant.Project.executeTarget(Project.java:1376)
    7. org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    8. org.apache.tools.ant.Project.executeTargets(Project.java:1260)
    9. org.apache.tools.ant.Main.runBuild(Main.java:853)
    10. org.apache.tools.ant.Main.startAnt(Main.java:235)
    10 frames
  16. Apache Ant Launcher
    Launcher.main
    1. org.apache.tools.ant.launch.Launcher.run(Launcher.java:285)
    2. org.apache.tools.ant.launch.Launcher.main(Launcher.java:112)
    2 frames