收藏
回答

微信登录返回无反应,报错Uninitialized ActivityThread?

unity游戏中接入的微信登录,之前的版本可以正常使用,现在使用微信登录授权后不调用回调并报错,导致游戏无反应

E/Instrumentation: Uninitialized ActivityThread, likely app-created Instrumentation, disabling AppComponentFactory

    java.lang.Throwable

        at android.app.Instrumentation.getFactory(Instrumentation.java:1260)

        at android.app.Instrumentation.newActivity(Instrumentation.java:1251)

        at com.tencent.mm.splash.k.newActivity(SourceFile:61)

        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3224)

        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3461)

        at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83)

        at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)

        at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)

        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2048)

        at android.os.Handler.dispatchMessage(Handler.java:107)

        at android.os.Looper.loop(Looper.java:227)

        at android.app.ActivityThread.main(ActivityThread.java:7582)

        at java.lang.reflect.Method.invoke(Native Method)

        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539)

        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:953)


回答关注问题邀请回答
收藏

1 个回答

  • BELL
    BELL
    03-30

    解决了= =,跟微信支付冲突了

    03-30
    有用
    回复
登录 后发表内容
问题标签