Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android aapt high processor utilization (and slow!)

I'm having an issue with Android's aapt tool. I run two development environments. Each one is on a quad core rig with 8gb of RAM. One is Windows 7, the other is Ubuntu 10.04. Both are running Eclipse 3.7r2 and ADT 18.0.

I build with maven. My build on the linux system takes about 1 minute, and on the windows system it takes 4 minutes.

The performance seems to be cpu-bound on the windows box, since I can see aapt.exe taking up a whole core for at least 2 minutes out of the build process. It executes in a heartbeat on linux.

It doesn't seem to be the png compression issue (as documented here) since that was supposed to be fixed in ADT17.

Has anyone else with this issue found a workaround? Does anyone else have this issue?

like image 515
Jon O Avatar asked Apr 26 '12 15:04

Jon O


1 Answers

Maybe this speeds up your compiling? It is a fix for the 'slow' standard AAPT tool.

like image 186
NickL Avatar answered Nov 02 '22 09:11

NickL