You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calling LeakCanaryConfig.configure is causing Caused by: java.lang.IllegalStateException: LeakCanary not installed, see AppWatcher.manualInstall()
LeakCanaryConfig.configure is called before calling manualInstall. The exception do not happen when LeakCanaryConfig.configure call is done after calling AppWatcher.manualInstall()
Version Information
LeakCanary version: 2.8
Android OS version: 10
Gradle version: 7.3.2
Additional Information
Stacktrace
java.lang.ExceptionInInitializerError
at leakcanary.LeakCanary$Config.<init>(LeakCanary.kt:199)
at leakcanary.LeakCanary.<clinit>(LeakCanary.kt:352)
at leakcanary.LeakCanary.getConfig(LeakCanary.kt:352)
at com.squareup.leakcanary.LeakCanaryConfig.configure(LeakCanaryConfig.kt:33)
at com.squareup.leakcanary.ConfigLeaksOnAppStart.onEnterScope(ConfigLeaksOnAppStart.kt:11)
at mortar.MortarScope.register(MortarScope.java:199)
at com.squareup.RegisterAppDelegate.onEnterScope(RegisterAppDelegate.java:444)
at com.squareup.development.RegisterDevAppDelegate.onEnterScope(RegisterDevAppDelegate.java:54)
at com.squareup.instrumentation.framework.TestAppDelegate.onEnterScope(TestAppDelegate.java:358)
at mortar.MortarScope.register(MortarScope.java:199)
at com.squareup.RegisterAppDelegate.createAppScope(RegisterAppDelegate.java:335)
at com.squareup.instrumentation.framework.TestAppDelegate.createTestAppScope(TestAppDelegate.java:332)
at com.squareup.instrumentation.framework.TestAppDelegate.createAppScope(TestAppDelegate.java:320)
at com.squareup.RegisterAppDelegate.onCreate(RegisterAppDelegate.java:189)
at com.squareup.development.RegisterDevAppDelegate.onCreate(RegisterDevAppDelegate.java:46)
at com.squareup.instrumentation.framework.TestAppDelegate.onCreate(TestAppDelegate.java:316)
at com.squareup.CommonPosApp.onCreate(CommonPosApp.kt:39)
at com.squareup.appointments.development.AposDevApp.onCreate(AposDevApp.java:13)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1024)
at androidx.test.runner.MonitoringInstrumentation.callApplicationOnCreate(MonitoringInstrumentation.java:428)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5403)
at android.app.ActivityThread.-wrap2(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1545)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6119)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
Caused by: java.lang.IllegalStateException: LeakCanary not installed, see AppWatcher.manualInstall()
at leakcanary.internal.InternalLeakCanary.getApplication(InternalLeakCanary.kt:52)
at leakcanary.ToastEventListener.<clinit>(ToastEventListener.kt:21)
The text was updated successfully, but these errors were encountered:
Description
Calling
LeakCanaryConfig.configure
is causing Caused by: java.lang.IllegalStateException: LeakCanary not installed, see AppWatcher.manualInstall()LeakCanaryConfig.configure
is called before calling manualInstall. The exception do not happen whenLeakCanaryConfig.configure
call is done after callingAppWatcher.manualInstall()
Version Information
Additional Information
Stacktrace
The text was updated successfully, but these errors were encountered: