Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

crunch/resource packaging with aapt in ant build uses cache from other projects

I have two android apps using a common library. Each project defines its own background images for the splash screen and a few others. These images have the same names in both apps.

When I build/run from eclipse, each app uses the correct background images. However, when I run my ant build file, the contents are mixed up when packaging resources and the same images are used for both applications.

I am sure there is a cache somewhere that I need to clear but I can't find it (running on MacOSX Lion).

I tried the -f option of appt, but still the same problem.

Anybody knows how to fix this?

like image 356
pgrav Avatar asked Dec 21 '22 14:12

pgrav


1 Answers

run "ant clean" before doing an ant build/release.

like image 177
hepizoj Avatar answered Dec 28 '22 10:12

hepizoj