Art: Verification of X took Y ms
For anyone in year 2020 and beyond looking for the solution -- Android 11 has the following setting in the Developer options:
It's ON by default. Turn it OFF to get rid of the annoying delays every time app is launched when debugging.
It looks like this is part of the 'backwards compatibility' requirement for the newer ART
runtime. That is, apps built against DALVIK
need to be able to run on ART
as well.
If you run a DVM
app on an ART system, you'll see this message the first time it runs when dex2oat
converts the application. If you build the application targeting ART
, the app will no longer be able to run on DVM
, but the OAT
conversion will happen during installation and is not seen at runtime.
Source: The Art of Art note this is part one of a three part investigation of ART and you may need to check parts two and three