FBlackBox / BlackBox

BlackBox is a virtual engine, it can clone and run virtual application on Android, users don't have to install APK file to run the application on devices. BlackBox control all virtual applications, so you can do anything you want by using BlackBox.
2.26k stars 627 forks source link

Activity org.telegram.ui.LaunchActivity has leaked ServiceConnection org.telegram.messenger.support.customtabsclient.shared.ServiceConnection@4e7d532 that was originally bound here #65

Closed lelouchneo closed 2 years ago

lelouchneo commented 2 years ago

Describe the bug / 描述一下这个错误 . When I install and try to open telegram app.I first get a black screen before the app opens.I also get the logs below. . I am using the latest commit from master. 清晰而简明地描述什么是错误。

To Reproduce / 复现步骤 Steps to reproduce the behavior:

  1. Open blackbox app
  2. Install the telegram app.
  3. Try opening the installed app.
  4. You will see a black screen before the app opens and the log attached appear.

Expected behavior / 预期的行为 A clear and concise description of what you expected to happen. 清晰而简明地描述你所期望发生的事情。

Screenshots / 截图 If applicable, add screenshots to help explain your problem. 如果有,请添加屏幕截图以帮助解释你的问题。

Mobile Phone Info / 手机信息

  1. Oppo A73 (android 11)

Logcat / 日志 Activity org.telegram.ui.LaunchActivity has leaked ServiceConnection org.telegram.messenger.support.customtabsclient.shared.ServiceConnection@4e7d532 that was originally bound here android.app.ServiceConnectionLeaked: Activity org.telegram.ui.LaunchActivity has leaked ServiceConnection org.telegram.messenger.support.customtabsclient.shared.ServiceConnection@4e7d532 that was originally bound here at android.app.LoadedApk$ServiceDispatcher.(LoadedApk.java:1982) at android.app.LoadedApk.getServiceDispatcherCommon(LoadedApk.java:1854) at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:1833) at android.app.ContextImpl.bindServiceCommon(ContextImpl.java:1878) at android.app.ContextImpl.bindService(ContextImpl.java:1808) at android.content.ContextWrapper.bindService(ContextWrapper.java:766) at org.telegram.messenger.support.customtabs.CustomTabsClient.bindCustomTabsService(CustomTabsClient.java:61) at org.telegram.messenger.browser.Browser.bindCustomTabsService(Browser.java:116) at org.telegram.ui.LaunchActivity.onStart(LaunchActivity.java:4272) at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1436) at top.niunaijun.blackbox.fake.delegate.BaseInstrumentationDelegate.callActivityOnStart(BaseInstrumentationDelegate.java:289) at android.app.Activity.performStart(Activity.java:8170) at android.app.ActivityThread.handleStartActivity(ActivityThread.java:3745) at android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:232) at android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:212) at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:184) at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:102) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2316) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:263) at android.app.ActivityThread.main(ActivityThread.java:8288) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:612) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1006) Additional context / 额外内容 Add any other context about the problem here. 在此添加关于该问题的任何其他内容。

APK If applicable, add the apk file for me to test. 如果有,请添加APK文件给我测试。