aapt

aapt not found when building new Android app in NetBeans

I just installed NetBeans and the Android SDK following the instructions here. I am running Ubuntu 9.10 (Karmic). NetBeans is 6.7.1. The Android SDK is version 7. When I try to compile a new project it gives me the following error: Execute failed: java.io.IOException: Cannot run program "/home/oz/android-sdk/platforms/android-7/tools/a...

Packaging "hidden" asset files

I'm placing the file '.nomedia' into a folder in order to avoid Android's MediaScanner from detecting the media files in the folder. I need to copy this folder (including '.nomedia') from the APK's assets to the SD card (so other apps can make use of these media files, etc.). When I package the APK in Eclipse, it doesn't package the '.no...

aapt always compresses resource files

I have an Ant build script for my Android project. I’m using aapt to package various resource files. I want the resources files to be uncompressed. I ‘ve tried the ‘-0′ flag but the files still get compressed! But when I build through Eclipse, the resource files are uncompressed. Why doesn’t this flag work? Here is my aapt target in Ant...

Why aapt dump badging doesn't work on Linux

I'm using aapt to dump info from apks, it works fine on Mac, but failed on Ubuntu. Here is the log from the two machine: Mac: $ md5 test.apk MD5 (/Users/jlee/tmp/test.apk) = 022d63fa0e3e9f10f57550d8921088d9 $ aapt dump badging test.apk package: name='com.i9i8.nanopage' versionCode='46' versionName='1.2.18' application: label='MoreGo...

Programs running aapt in android sdk from shell and from sbt.

I have a weird problem where I cannot run aapt from an sbt command as well as from the shell. I run this command: sbt update package-debug And everything hums along until I get this error: java.io.IOException: Cannot run program "/home/egervari/Programs/android-sdk-linux_x86/platforms/android-7/tools/aapt": java.io.IOException: error...