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
Sometimes..when I am opening the app or installing it from Android Studio instead of opening automatically it is crashing with the below error :
com.myapp E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.myapp, PID: 22733
java.lang.RuntimeException: Unable to start receiver com.foursquare.internal.receivers.AppUpdateReceiver: java.lang.IllegalStateException: Pilgrim SDK has not been initialized yet!Possible causes of this are:
- You used a `tools:remove` attribute in your AndroidManifest.xml to remove Pilgrim's ContentProvider (which is fine) and did not call the alternative initialization method PilgrimSdk.with(). - You used a `PilgrimSdk` method from a process other than your main process. This is not allowed.
Frequently, the 2nd scenario will happen when using a library that adds a process to your app, like LeakCanary or ProcessPhoenix, if you forget to return early from your Application#onCreate.
Please contact us if you are seeing this error and none of these scenarios apply to you.
at android.app.ActivityThread.handleReceiver(ActivityThread.java:3388)
at android.app.ActivityThread.access$1200(ActivityThread.java:199)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1661)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6669)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
Caused by: java.lang.IllegalStateException: Pilgrim SDK has not been initialized yet!Possible causes of this are:
- You used a `tools:remove` attribute in your AndroidManifest.xml to remove Pilgrim's ContentProvider (which is fine) and did not call the alternative initialization method PilgrimSdk.with(). - You used a `PilgrimSdk` method from a process other than your main process. This is not allowed.
Frequently, the 2nd scenario will happen when using a library that adds a process to your app, like LeakCanary or ProcessPhoenix, if you forget to return early from your Application#onCreate.
Please contact us if you are seeing this error and none of these scenarios apply to you.
at com.foursquare.pilgrim.PilgrimSdk$Companion.get(SourceFile:1)
at com.foursquare.internal.pilgrim.RealPilgrimErrorReporter.reportException(SourceFile:8)
at com.foursquare.internal.receivers.AppUpdateReceiver.onIntentReceived$pilgrimsdk_library_release(SourceFile:9)
at com.foursquare.internal.receivers.AppUpdateReceiver.onIntentReceived(SourceFile:1)
at com.foursquare.internal.receivers.ProtectedBroadcastReceiver.onReceive(SourceFile:2)
at android.app.ActivityThread.handleReceiver(ActivityThread.java:3379)
... 8 more
But I am initializing Pilgrim in Application Class's onCreate() with the help of Dagger & I am not using any such library which can use Pilgrim method from a process other than the main process..
Do I have to update Pilgrim to latest version? Right Now its 2.4.1
Can someone help?
The text was updated successfully, but these errors were encountered:
Sometimes..when I am opening the app or installing it from Android Studio instead of opening automatically it is crashing with the below error :
But I am initializing Pilgrim in Application Class's onCreate() with the help of Dagger & I am not using any such library which can use Pilgrim method from a process other than the main process..
Do I have to update Pilgrim to latest version? Right Now its 2.4.1
Can someone help?
The text was updated successfully, but these errors were encountered: