Hey everyone, I’m having a strange problem I can’t seem to find any info on or replicate outside of my personal Galaxy S7.
After selecting an account to sign in with (web view), I get “Expo has stopped running” immediately every time. I’ve tested on an iPhone and on another Galaxy S7, both of which ran fine. Unfortunately it’s incredibly difficult for me to continue developing via emulator, so I’d prefer to try to resolve this if I can.
This is what I believe to be the relevant output from adb logcat:
04-26 12:29:32.752 6383 6383 E ActivityThread: Activity host.exp.exponent.oauth.OAuthResultActivity has leaked ServiceConnection net.openid.appauth.k$1@f50138 that was originally bound here
04-26 12:29:32.752 6383 6383 E ActivityThread: android.app.ServiceConnectionLeaked: Activity host.exp.exponent.oauth.OAuthResultActivity has leaked ServiceConnection net.openid.appauth.k$1@f50138 that was originally bound here
04-26 12:29:32.752 6383 6383 E ActivityThread: at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:1392)
04-26 12:29:32.752 6383 6383 E ActivityThread: at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:1287)
04-26 12:29:32.752 6383 6383 E ActivityThread: at android.app.ContextImpl.bindServiceCommon(ContextImpl.java:1503)
04-26 12:29:32.752 6383 6383 E ActivityThread: at android.app.ContextImpl.bindService(ContextImpl.java:1475)
04-26 12:29:32.752 6383 6383 E ActivityThread: at android.content.ContextWrapper.bindService(ContextWrapper.java:688)
04-26 12:29:32.752 6383 6383 E ActivityThread: at android.support.b.b.a(CustomTabsClient.java:70)
04-26 12:29:32.752 6383 6383 E ActivityThread: at net.openid.appauth.k.a(CustomTabManager.java:85)
04-26 12:29:32.752 6383 6383 E ActivityThread: at net.openid.appauth.f.<init>(AuthorizationService.java:107)
04-26 12:29:32.752 6383 6383 E ActivityThread: at net.openid.appauth.f.<init>(AuthorizationService.java:85)
04-26 12:29:32.752 6383 6383 E ActivityThread: at net.openid.appauth.f.<init>(AuthorizationService.java:74)
04-26 12:29:32.752 6383 6383 E ActivityThread: at host.exp.exponent.oauth.OAuthResultActivity.a(OAuthResultActivity.java:50)
04-26 12:29:32.752 6383 6383 E ActivityThread: at host.exp.exponent.oauth.OAuthResultActivity.onCreate(OAuthResultActivity.java:39)
04-26 12:29:32.752 6383 6383 E ActivityThread: at android.app.Activity.performCreate(Activity.java:6912)
04-26 12:29:32.752 6383 6383 E ActivityThread: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1126)
04-26 12:29:32.752 6383 6383 E ActivityThread: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2900)
04-26 12:29:32.752 6383 6383 E ActivityThread: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3008)
04-26 12:29:32.752 6383 6383 E ActivityThread: at android.app.ActivityThread.-wrap14(ActivityThread.java)
04-26 12:29:32.752 6383 6383 E ActivityThread: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1650)
04-26 12:29:32.752 6383 6383 E ActivityThread: at android.os.Handler.dispatchMessage(Handler.java:102)
04-26 12:29:32.752 6383 6383 E ActivityThread: at android.os.Looper.loop(Looper.java:154)
04-26 12:29:32.752 6383 6383 E ActivityThread: at android.app.ActivityThread.main(ActivityThread.java:6688)
04-26 12:29:32.752 6383 6383 E ActivityThread: at java.lang.reflect.Method.invoke(Native Method)
04-26 12:29:32.752 6383 6383 E ActivityThread: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1468)
04-26 12:29:32.752 6383 6383 E ActivityThread: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1358)
04-26 12:29:32.753 1565 1791 I ActivityManager: KPU : put [com.linkedin.android] : 7168 K
04-26 12:29:32.753 1565 1791 I ActivityManager: Killing 9962:com.linkedin.android/u0a321 (adj 906): DHA:empty #33
04-26 12:29:32.755 1565 1791 I ActivityManager: KPU : put [com.brave.browser] : 11880 K
04-26 12:29:32.755 1565 1791 I ActivityManager: Killing 9381:com.brave.browser/u0a257 (adj 906): DHA:empty #33
04-26 12:29:32.758 1565 1791 I ActivityManager: KPU : put [com.brave.browser:privileged_process0] : 4880 K
04-26 12:29:32.759 1565 1791 I ActivityManager: Killing 9499:com.brave.browser:privileged_process0/u0a257 (adj 906): DHA:empty #33
04-26 12:29:32.764 6143 6204 I cr_BindingManager: onTrimMemory: level=20, size=1
04-26 12:29:32.769 4060 4087 D ForegroundUtils: could not check pending caller
04-26 12:29:32.781 1565 6547 I MultiWindowManagerService: setTaskDimensions: Task=TaskRecord{fab32e4d0 #4977 A=host.exp.exponent U=0 StackId=1 sz=1} minWidth=-1 minHeight=-1 maxWidth=-1 maxHeight=-1
04-26 12:29:32.782 1565 6547 I MultiWindowManagerService: setTaskDimensions: Task=TaskRecord{e932079d0 #4978 A=host.exp.exponent U=0 StackId=1 sz=2} minWidth=-1 minHeight=-1 maxWidth=-1 maxHeight=-1
04-26 12:29:32.783 1565 20453 W ActivityManager: Unbind failed: could not find connection for android.os.BinderProxy@eb76e5c
04-26 12:29:32.835 1565 4135 D ActivityManager: cleanUpApplicationRecord -- 9499
04-26 12:29:32.836 1565 4135 W ActivityManager: Scheduling restart of crashed service com.brave.browser/org.chromium.content.app.PrivilegedProcessService0 in 1000ms
04-26 12:29:32.837 4060 4087 D ForegroundUtils: could not check pending caller
04-26 12:29:32.844 3951 12139 I InstantApps: DomainFilterImpl: Domain filter response size: 81996
04-26 12:29:32.858 1565 2561 D ConnectivityService: ConnectivityService NetworkRequestInfo binderDied(NetworkRequest [ id=111, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ], android.os.BinderProxy@54c7df2)
04-26 12:29:32.858 1565 2561 D ConnectivityService: ConnectivityService NetworkRequestInfo binderDied(NetworkRequest [ id=110, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ], android.os.BinderProxy@b1d8c43)
04-26 12:29:32.860 1565 2595 D ConnectivityService: releasing NetworkRequest NetworkRequest [ id=111, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ]
04-26 12:29:32.861 1565 2595 D ConnectivityService: sending notification RELEASED for NetworkRequest [ id=111, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ]
04-26 12:29:32.862 1565 2595 E ConnectivityService: RemoteException caught trying to send a callback msg for NetworkRequest [ id=111, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ]
04-26 12:29:32.862 1565 2595 D ConnectivityService: releasing NetworkRequest NetworkRequest [ id=110, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ]
04-26 12:29:32.862 1565 2595 D ConnectivityService: sending notification RELEASED for NetworkRequest [ id=110, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ]
04-26 12:29:32.862 1565 2595 E ConnectivityService: RemoteException caught trying to send a callback msg for NetworkRequest [ id=110, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ]
04-26 12:29:32.863 1565 20453 D ActivityManager: cleanUpApplicationRecord -- 9381
04-26 12:29:32.865 1565 20453 W ActivityManager: Scheduling restart of crashed service com.brave.browser/org.chromium.chrome.browser.customtabs.CustomTabsConnectionService in 1000ms
04-26 12:29:32.866 4060 21131 D ForegroundUtils: could not check pending caller