All,
I have a similar problem to what was reported here (but more dastardly):

https://groups.google.com/d/msg/adt-dev/-5gv55a64v0/vvCC9PzN-74J
Basically, aapt is failing on some png images after calling "./gradlew 
assemble". Here's some of the output:

:geopaparazzi.app:mergeDebugResources
Error: Failed to run command:
/...pathToSDK.../sdk/build-tools/android-4.4/aapt s -i 
/...pathToProject.../geopaparazzi-master/geopaparazzi.app/res/drawable-hdpi/quickcontact_photo_frame.9.png
 
-o 
/...pathToProject.../geopaparazzi-master/geopaparazzi.app/build/res/all/debug/drawable-hdpi/quickcontact_photo_frame.9.png
Error Code:
132

:geopaparazzi.app:mergeDebugResources FAILED

FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':geopaparazzi.app:mergeDebugResources'.
Error: Failed to run command:
/...pathToSDK.../sdk/build-tools/android-4.4/aapt s -i 
/...pathToProject.../geopaparazzi-master/geopaparazzi.app/res/drawable-hdpi/quickcontact_photo_frame.9.png
 
-o 
/...pathToProject.../geopaparazzi-master/geopaparazzi.app/build/res/all/debug/drawable-hdpi/quickcontact_photo_frame.9.png
Error Code:
132

The dastardly portion of this is that I am just downloading and trying to 
build an application that *runs just fine* on the developers' systems.

I identified some 'corrupted' png images, and opening and saving these 
images in GIMP fixes the problem for me, (gradle completes the assemble!), 
but since the developers can't see the problem, they don't see any reason 
to update the images on the master.  They thought it might be a 
download/data-transfer problem, but it is consistently the same images, no 
matter how many times or what method I use to complete the download. 
Discussion with the developers here:  
https://github.com/geopaparazzi/geopaparazzi/issues/96  )

I'm grasping at straws and in way over my head. Can anyone guess as to why 
the same version of gradle complains about PNGs on one system, but not 
another?

OS: Ubuntu

$ ./gradlew -version

Gradle 1.8

Build time: 2013-09-24 07:32:33 UTC
Build number: none
Revision: 
7970ec3<https://github.com/geopaparazzi/geopaparazzi/commit/7970ec3503b4f5767ee1c1c69f8b4186c4763e3d>

Groovy: 1.8.6
Ant: Apache Ant(TM) version 1.9.2 compiled on July 8 2013
Ivy: 2.2.0
JVM: 1.7.0_25 (Oracle Corporation 23.7-b01)
OS: Linux 3.8.0-34-generic i386


Thanks for your thoughts. 
Tim


-- 
You received this message because you are subscribed to the Google Groups 
"adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to