Sunday, December 10, 2017

5.0 lollipop - Should Dalvik Cache be wiped in Android OS that supports ART?


When switching custom ROMs (in ART), is it necessary to wipe the Dalvik Cache?


Wiping the Cache is necessary, but should wiping Dalvik (which doesn't exist in Android Lollipop and afterward) be necessary?


What impact will it cause if we wipe Dalvik (something not present)?


In ART, what does the Dalvik cache contains? (is it an empty folder?)




Answer



The Dalvik Cache is still in use under ART, it is the location where the .oat files (they contain the compiled application, compiled during installation ) are stored, they just didn't change the name. Source: 1


So Wiping may be necessary if ART related files were updated. Because it does no harm other than compiling all applications again, I suggest just doing it to be safe.


No comments:

Post a Comment

samsung galaxy s 2 - Cannot restore Kies backup after firmware upgrade

I backed up my Samsung Galaxy S2 on Kies before updating to Ice Cream Sandwich. After the upgrade I tried to restore, but the restore fails ...