Reputation: 319
When i list the running processes under windows 7, about 20 aapt.exe processes are showing and they take a lot of memory. This happens when android studio is opened. I am always forced to exit android studio and open it again. How can remedy the situation while leaving android studio running? And what is the function of aapt.exe? I have android studio 1.2.1.1.
Upvotes: 11
Views: 14998
Reputation: 3580
About the second question:
How can remedy the situation while leaving android studio running?
I have also same issue and a lot of aapt.exe wich still running even all emulators and others android development tools are stopped.
Mi solution to stop all them:
Taskkill /T /F /IM aapt.exe
in cmd or a .bat file
Upvotes: 3
Reputation: 969
aapt.exe
is the Android Asset Packaging Tool (aapt). It's designed to take your application resource files, such as the AndroidManifest.xml
file and other XML files used for every "Activity" in your Android app, and compile them. An R.java
is generated so you can reference your resources from your Java code.
Upvotes: 8
Reputation: 1868
It is used for compiling the Android resource files and generate the R.Java file for referring the resource directly into the Java code.
Upvotes: 2