Note that there are some explanatory texts on larger screens.

plurals
  1. POaapt not found when building new Android app in NetBeans
    primarykey
    data
    text
    <p>I just installed NetBeans and the Android SDK following the instructions <a href="http://wiki.netbeans.org/IntroAndroidDevNetBeans" rel="noreferrer">here</a>. I am running Ubuntu 9.10 (Karmic). NetBeans is 6.7.1. The Android SDK is version 7.</p> <p>When I try to compile a new project it gives me the following error:</p> <pre><code>Execute failed: java.io.IOException: Cannot run program "/home/oz/android-sdk/platforms/android-7/tools/aapt" (in directory "/home/oz/projects/ArmyBuilder/android"): java.io.IOException: error=2, No such file or directory </code></pre> <p>When I go into that directory, I see that the file does exist and it has proper permissions to be executable by anyone, yet even bash can't find it!</p> <pre><code>oz@Ivory-Coast:~/android-sdk/platforms/android-7/tools$ pwd /home/oz/android-sdk/platforms/android-7/tools oz@Ivory-Coast:~/android-sdk/platforms/android-7/tools$ ls -l total 4652 -rwxrwxrwx 1 oz oz 3472784 2010-04-20 18:16 aapt -rwxrwxrwx 1 oz oz 1050336 2010-04-20 18:16 aidl -rwxrwxrwx 1 oz oz 213698 2010-04-20 18:16 dexdump -rwxrwxrwx 1 oz oz 2497 2010-04-20 18:16 dx drwxr-xr-x 2 oz oz 4096 2010-04-20 18:16 lib -rw-r--r-- 1 oz oz 10800 2010-04-20 18:16 NOTICE.txt oz@Ivory-Coast:~/android-sdk/platforms/android-7/tools$ ./aapt bash: ./aapt: No such file or directory oz@Ivory-Coast:~/android-sdk/platforms/android-7/tools$ </code></pre> <p>Googling for this error turns up a few other people having this same issue (<a href="http://www.mentby.com/erisa/aapt-not-found.html" rel="noreferrer">http://www.mentby.com/erisa/aapt-not-found.html</a>, <a href="http://www.helloandroid.com/content/file-not-found-hello-world-application" rel="noreferrer">http://www.helloandroid.com/content/file-not-found-hello-world-application</a>) both with no responses.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload