How to speed up opening the application?

Hello! Recently updated dependencies support of the library, added a couple of libraries. And subjectively, the application was sushestvenno longer to open. In fact there is a simple activity with a form or anything, no database queries or the Internet. Maybe someone knows how to make it all run faster? How would you even know what time to go?

Thanks in advance!
July 4th 19 at 23:15
3 answers
July 4th 19 at 23:17
The documentation has a whole section devoted to how to speed up the loading of applications, and find the reasons for the slow start:
July 4th 19 at 23:19
1. Seriously affects the size of the DEX file. Fresher support, so this file will be more. Use ProGuard to throw away unused code.
2. Cut all of Alication.onCreate(). All desired instances have with Dagger2, delay.
3. Use the window:background the subject application. Fill it with color or put a picture.
July 4th 19 at 23:21
May know, but still - as far as I know, if you have enabled Instance Run in the Studio (which is enabled by default) and the application is assembled, it will take longer to run than if the Run Instance has been turned off.
Instance Run - this is really cool stuff, but this is different. I asked about opening the app in production mode and user devices. - Freeman.Stark80 commented on July 4th 19 at 23:24

Find more questions by tags Android