错误打印:
11-07 16:38:14.209 4623 4623 E Instrumentation: Uninitialized ActivityThread, likely app-created Instrumentation, disabling AppComponentFactory
11-07 16:38:14.209 4623 4623 E Instrumentation: java.lang.Throwable
11-07 16:38:14.209 4623 4623 E Instrumentation: at android.app.Instrumentation.getFactory(Instrumentation.java:1282)
11-07 16:38:14.209 4623 4623 E Instrumentation: at android.app.Instrumentation.newActivity(Instrumentation.java:1273)
11-07 16:38:14.209 4623 4623 E Instrumentation: at com.tencent.mm.splash.SplashHackInstrumentation.newActivity(Unknown Source:160)
11-07 16:38:14.209 4623 4623 E Instrumentation: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3536)
11-07 16:38:14.209 4623 4623 E Instrumentation: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3796)
11-07 16:38:14.209 4623 4623 E Instrumentation: at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:103)
11-07 16:38:14.209 4623 4623 E Instrumentation: at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
11-07 16:38:14.209 4623 4623 E Instrumentation: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
11-07 16:38:14.209 4623 4623 E Instrumentation: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2214)
11-07 16:38:14.209 4623 4623 E Instrumentation: at android.os.Handler.dispatchMessage(Handler.java:106)
11-07 16:38:14.209 4623 4623 E Instrumentation: at android.os.Looper.loopOnce(Looper.java:201)
11-07 16:38:14.209 4623 4623 E Instrumentation: at android.os.Looper.loop(Looper.java:288)
11-07 16:38:14.209 4623 4623 E Instrumentation: at android.app.ActivityThread.main(ActivityThread.java:7869)
11-07 16:38:14.209 4623 4623 E Instrumentation: at java.lang.reflect.Method.invoke(Native Method)
11-07 16:38:14.209 4623 4623 E Instrumentation: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
11-07 16:38:14.209 4623 4623 E Instrumentation: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1068)
快手 AndroidManifest.xml文件已有配置如下:
<activity android:theme="@style/arg_res_0x7f11017a" android:name="com.smile.gifmaker.wxapi.WXEntryActivity" android:exported="true" android:taskAffinity="com.smile.gifmaker" android:launchMode="singleTask" android:screenOrientation="behind" android:configChanges="screenSize|orientation|navigation|keyboardHidden|keyboard"/>