Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

App causes AOT (optimizing apps) on every reboot

Tags:

android

My Android app seems to cause Ahead of time compilation after every reboot for some users. Only the single app is optimized: Optimizing App 1 of 1

The app uses JNI if that matters. I have no idea where to start looking. Ideas?

like image 271
stefple Avatar asked Mar 19 '18 11:03

stefple


People also ask

Why does my phone keep saying optimizing apps?

And when your phone says that Android is starting optimizing, it means that the phone will create an optimized version of app and your apps will run faster after that. The optimizing process can make your apps be optimized and run as fast as possible on the new version of Android.

Why does my Android phone keep optimizing apps?

Short answer. The short story is that Android is doing what it says, creating an optimized version of each app for the new version of Android you just upgraded to. This process makes each app start as fast as possible with the new Android version.


1 Answers

This was caused by D8 and will be fixed: https://issuetracker.google.com/issues/77842465

like image 146
stefple Avatar answered Sep 21 '22 18:09

stefple