Search code examples
androidacra

ACRA causes app to delay start


I'm using ACRA in my Android app. When initializing the app in the onCreate() of my Application class, there is a visible delay before the app starts. This shows as a white screen before the first layout of the app displays.

Is there a way to get around this ?? Maybe load a content view in the Application class or initialize ACRA later in the app.


Solution

  • I also integrate the Acra in my apps, but i never came across the issue you mentioned here. Following is how I am initializing the Acra:

        @Override
        public void onCreate() 
        {
            // The following line triggers the initialization of ACRA
            ACRA.init(this);
            super.onCreate();
        }