xu-li / cordova-plugin-wechat

A cordova plugin, a JS version of Wechat SDK
1.22k stars 509 forks source link

Android 下未知错误:E/Cordova.Plugin.Wechat: Index 1 out of range [0..1) #312

Closed Jwiayou closed 5 years ago

Jwiayou commented 7 years ago
02-27 07:53:48.890 9988-10030/com.citongs.heromaker D/Cordova.Plugin.Wechat: isWXAppInstalled is called. Callback ID: Wechat487378011.
02-27 07:53:51.990 9988-10030/com.citongs.heromaker D/Cordova.Plugin.Wechat: sendAuthRequest is called. Callback ID: Wechat487378012.
02-27 07:53:52.000 9988-10030/com.citongs.heromaker E/Cordova.Plugin.Wechat: Index 1 out of range [0..1)
02-27 07:53:52.000 9988-10030/com.citongs.heromaker I/Timeline: Timeline: Activity_launch_request time:2358115
02-27 07:53:52.020 9988-9988/com.citongs.heromaker V/MicroMsg.SDK.WXApiImplV10.ActivityLifecycleCb: com.citongs.heromaker.MainActivity  onActivityPaused
02-27 07:53:52.110 9988-10030/com.citongs.heromaker I/Cordova.Plugin.Wechat: Auth request has been sent successfully.
02-27 07:53:52.110 9988-10030/com.citongs.heromaker W/PluginManager: THREAD WARNING: exec() call to Wechat.sendAuthRequest blocked the main thread for 119ms. Plugin should use CordovaInterface.getThreadPool().
02-27 07:53:52.220 9988-9988/com.citongs.heromaker D/Cordova.Plugin.Wechat: com.tencent.mm.sdk.modelmsg.SendAuth$Resp@427557e8
02-27 07:53:52.280 9988-9988/com.citongs.heromaker V/MicroMsg.SDK.WXApiImplV10.ActivityLifecycleCb: com.citongs.heromaker.MainActivity  onActivityResumed
02-27 07:53:52.300 9988-9988/com.citongs.heromaker I/Timeline: Timeline: Activity_idle id: android.os.BinderProxy@4214d9b0 time:2358415
xgzl87 commented 7 years ago

android 签名一下就可以了

kigh143 commented 6 years ago

hey, any solution on this?