我有一個奇怪的問題,我無法從sbt命令和shell中運行aapt。從shell和sbt運行android sdk中的aapt的程序
我運行此命令:
SBT,直到我得到這個錯誤更新包調試
所有的一切都嗡嗡聲沿着:
java.io.IOException: Cannot run program "/home/egervari/Programs/android-sdk-linux_x86/platforms/android-7/tools/aapt": java.io.IOException: error=2, No such file or directory
於是我嘗試手動運行它,只是爲了它的竅門:
[email protected]:~/Programs/android-sdk-linux_x86/platforms/android-7/tools$ ./aapt
bash: ./aapt: No such file or directory
這是很奇怪的,因爲它是正確的有:
[email protected]:~/Programs/android-sdk-linux_x86/platforms/android-7/tools$ ls -la
total 4660
drwxr-xr-x 3 egervari egervari 4096 2010-10-16 09:13 .
drwxr-xr-x 8 egervari egervari 4096 2010-10-16 09:13 ..
-rwxrwxrwx 1 egervari egervari 3472673 2010-10-16 09:13 aapt
-rwxrwxrwx 1 egervari egervari 1050328 2010-10-16 09:13 aidl
-rwxrwxrwx 1 egervari egervari 213690 2010-10-16 09:13 dexdump
-rwxrwxrwx 1 egervari egervari 2497 2010-10-16 09:13 dx
drwxr-xr-x 2 egervari egervari 4096 2010-10-16 09:13 lib
-rw-r--r-- 1 egervari egervari 10800 2010-10-16 09:13 NOTICE.txt
[email protected]:~/Programs/android-sdk-linux_x86/platforms/android-7/tools$
幫助? :/
也許有明顯的問題,但它有*永遠*運行? – 2010-10-16 15:07:13
不,這是全新安裝的Ubuntu SDK 10.10的全新安裝 – egervari 2010-10-16 15:33:32