[G1 Android Development] flak0:
Got this while trying to recompile the motorola gallery from the moto2.1 update,

flak0@flak0-laptop-ubuntu:~/Desktop$ apktool -v b media

Apr 3, 2010 5:10:48 AM brut.androlib.Androlib buildSourcesSmali

INFO: Checking whether sources has changed...

Apr 3, 2010 5:10:48 AM brut.androlib.Androlib buildSourcesSmali

INFO: Smaling...

Apr 3, 2010 5:11:09 AM brut.androlib.Androlib buildResourcesFull

INFO: Checking whether resources has changed...

Apr 3, 2010 5:11:09 AM brut.androlib.Androlib buildResourcesFull

INFO: Building resources...

/home/flak0/Desktop/media/res/layout/albums.xml:6: error: No resource identifier found for attribute 'spacing' in package 'com.motorola.gallery'

/home/flak0/Desktop/media/res/layout/albums.xml:6: error: No resource identifier found for attribute 'screenBuffer' in package 'com.motorola.gallery'

/home/flak0/Desktop/media/res/layout/albums.xml:6: error: No resource identifier found for attribute 'depthRatio' in package 'com.motorola.gallery'

/home/flak0/Desktop/media/res/layout/albums.xml:6: error: No resource identifier found for attribute 'rotative' in package 'com.motorola.gallery'

/home/flak0/Desktop/media/res/layout/albums.xml:6: error: No resource identifier found for attribute 'padding' in package 'com.motorola.gallery'

/home/flak0/Desktop/media/res/layout/flow_view.xml:2: error: No resource identifier found for attribute 'spacing' in package 'com.motorola.gallery'

/home/flak0/Desktop/media/res/layout/flow_view.xml:2: error: No resource identifier found for attribute 'screenBuffer' in package 'com.motorola.gallery'

/home/flak0/Desktop/media/res/layout/flow_view.xml:2: error: No resource identifier found for attribute 'depthRatio' in package 'com.motorola.gallery'

/home/flak0/Desktop/media/res/layout/flow_view.xml:2: error: No resource identifier found for attribute 'rotative' in package 'com.motorola.gallery'

/home/flak0/Desktop/media/res/layout/flow_view.xml:2: error: No resource identifier found for attribute 'padding' in package 'com.motorola.gallery'

/home/flak0/Desktop/media/res/layout/image_gallery_2.xml:5: error: No resource identifier found for attribute 'cellHeight' in package 'com.motorola.gallery'

/home/flak0/Desktop/media/res/layout/image_gallery_2.xml:5: error: No resource identifier found for attribute 'cellWidth' in package 'com.motorola.gallery'

Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL1966307790502101411.tmp, -I, /tmp/brut_util_Jar_2813330822458197327.tmp, -S, /home/flak0/Desktop/media/res, -M, /home/flak0/Desktop/media/AndroidManifest.xml, /home/flak0/Desktop/media/9patch]

at brut.androlib.res.AndrolibResources.aaptPackage(Unknown Source)

at brut.androlib.Androlib.buildResourcesFull(Unknown Source)

at brut.androlib.Androlib.buildResources(Unknown Source)

at brut.androlib.Androlib.build(Unknown Source)

at brut.androlib.Androlib.build(Unknown Source)

at brut.apktool.Main.cmdBuild(Unknown Source)

at brut.apktool.Main.main(Unknown Source)

Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL1966307790502101411.tmp, -I, /tmp/brut_util_Jar_2813330822458197327.tmp, -S, /home/flak0/Desktop/media/res, -M, /home/flak0/Desktop/media/AndroidManifest.xml, /home/flak0/Desktop/media/9patch]

at brut.util.OS.exec(Unknown Source)

... 7 more