wmpf / wmpf_demo_external

MIT License
255 stars 75 forks source link

手机上激活设备失败,同样的应用在平板上可以正常运行 #22

Closed charjack closed 4 years ago

charjack commented 4 years ago

在手机上调用激活接口报如下错误:onSuccess activate device fail: obtain token fail by ilink -1 但是同样的应用在平板上,可以正常激活,但是在平台上运行到最后一步:启动应用提示 "10006 no activate",小程序无法启动

simonla commented 4 years ago

是否两次激活,使用的是同一份设备信息?

charjack commented 4 years ago

使用的同一份设备信息,所有的内容都一样,那些变参数(产品id 版本号 设备id 以及签名等等)全部全部是写死在代码中的。

simonla commented 4 years ago

使用的同一份设备信息,所有的内容都一样,那些变参数(产品id 版本号 设备id 以及签名等等)全部全部是写死在代码中的。

这样是不行的,productId和keyVersion可以相同,但deviceId和signature不可以相同

charjack commented 4 years ago

关于激活的问题清楚了,但是这个"response.baseResponse.ret = 10006, response.baseResponse.errMsg = no activate"问题,可以看一下吗?前面步骤都是正确的,到了最后一步,提示这个

charjack commented 4 years ago

下面是10006的相关log: 2020-02-18 22:54:34.148 4644-4687/com.tencent.wmpf.demo I/IPC.IPCBridgeManager: [getIPCBridge] process:com.tencent.wmpf 2020-02-18 22:54:34.148 4644-4687/com.tencent.wmpf.demo I/IPC.ObjectRecycler: addIntoSet(com.tencent.wmpf) 2020-02-18 22:54:34.148 4644-4687/com.tencent.wmpf.demo I/IPC.IPCInvokeCallbackWrapper: keep ref of callback(67368053) 2020-02-18 22:54:34.159 4516-4529/com.tencent.ilink.ServiceProcess W/IlinkService: [, , 0]:Going to delete tdi sessions num:0 2020-02-18 22:54:34.165 4471-4879/com.tencent.wmpf W/System.err: java.lang.InterruptedException 2020-02-18 22:54:34.166 4471-4879/com.tencent.wmpf W/System.err: at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:2010) 2020-02-18 22:54:34.166 4471-4879/com.tencent.wmpf W/System.err: at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2044) 2020-02-18 22:54:34.166 4471-4879/com.tencent.wmpf W/System.err: at java.util.concurrent.ArrayBlockingQueue.take(ArrayBlockingQueue.java:358) 2020-02-18 22:54:34.166 4471-4879/com.tencent.wmpf W/System.err: at com.tencent.ilinkservice.b$a.run(IlinkApiTaskManager.java:66) 2020-02-18 22:54:34.407 4471-4471/com.tencent.wmpf D/IlinkServiceImpl: Process name is:com.tencent.wmpf 2020-02-18 22:54:34.407 4471-4471/com.tencent.wmpf D/IlinkServiceImpl: my process name is:com.tencent.wmpf 2020-02-18 22:54:34.410 4516-4516/com.tencent.ilink.ServiceProcess D/IlinkService: [, , 0]:Receive broadcast mypkgname:com.tencent.wmpf, sender:com.tencent.wmpf, sender process:com.tencent.wmpf 2020-02-18 22:54:34.411 4471-4471/com.tencent.wmpf D/IlinkServiceApiTask: add task to queue! 2020-02-18 22:54:34.412 4516-4516/com.tencent.ilink.ServiceProcess D/IlinkService: [, , 0]:Receive com.tencent.ilinkservice.Ask and my version is:33554461 2020-02-18 22:54:34.413 4471-4471/com.tencent.wmpf D/IlinkServiceReceiver: Receive broadcast mypkgname:com.tencent.wmpf, sender:com.tencent.wmpf 2020-02-18 22:54:34.413 4471-4471/com.tencent.wmpf D/IlinkServiceReceiver: Receive com.tencent.ilinkservice.Answer and the version is:33554461 2020-02-18 22:54:34.413 4471-5020/com.tencent.wmpf D/IlinkServiceApiTask: Thread stop running wait service available 20s 2020-02-18 22:54:34.544 4471-4507/com.tencent.wmpf D/IlinkServiceImpl: Running service version is equal or bigger than us just bind the service:com.tencent.wmpf 2020-02-18 22:54:34.551 4471-4471/com.tencent.wmpf D/IlinkServiceImpl: my process name is:com.tencent.wmpf, my cookie is:d51fb21f6d09d35417ad1e8bc1bd2dea0adfc290e791c3e233245bf7bf23f31e, my package name is:com.tencent.wmpf 2020-02-18 22:54:34.551 4471-4471/com.tencent.wmpf D/IlinkServiceImpl: onServiceConnected finished 2020-02-18 22:54:34.551 4471-5020/com.tencent.wmpf D/IlinkServiceApiTask: wake up from wait signal 2020-02-18 22:54:34.551 4471-5020/com.tencent.wmpf D/IlinkServiceApiTask: get task from queue 2020-02-18 22:54:34.553 4516-4552/com.tencent.ilink.ServiceProcess D/IlinkService: [, , 0]:device callback one:com.tencent.wmpf 2020-02-18 22:54:34.554 4471-4636/com.tencent.wmpf D/IlinkServiceImpl: Receive onlogin complete:0 2020-02-18 22:54:34.554 4471-4636/com.tencent.wmpf D/IlinkServiceApiTask: add task to queue! 2020-02-18 22:54:34.554 4471-4636/com.tencent.wmpf D/IlinkServiceDevice: onLoginComplete error:0 2020-02-18 22:54:34.556 4471-5020/com.tencent.wmpf D/IlinkServiceApiTask: get task from queue 2020-02-18 22:54:34.556 4516-4529/com.tencent.ilink.ServiceProcess V/IlinkServiceImpl: [, , 0]:com.tencent.wmpf Receive onlogin complete:0 2020-02-18 22:54:34.678 4644-5008/com.tencent.wmpf.demo I/ljkDocumentActivity: success: 0
2020-02-18 22:54:34.678 4644-5008/com.tencent.wmpf.demo I/ljkDocumentActivity: success: 1582037674675#invokeToken 2020-02-18 22:54:34.678 4644-5008/com.tencent.wmpf.demo E/ljkRequestsRepo: onSuccess 0 2020-02-18 22:54:38.056 2407-2412/? W/art: Null DexFile::mCookie for Lcom/tencent/wxpayface/e/e$f; 2020-02-18 22:54:38.056 2407-2412/? W/art: Null DexFile::mCookie for Lcom/tencent/wxpayface/business/e/a/a; 2020-02-18 22:54:38.056 2407-2412/? W/art: Null DexFile::mCookie for Lcom/tencent/wxpayface/business/e/a/a; 2020-02-18 22:54:38.057 2407-2412/? W/art: Null DexFile::mCookie for Lcom/tencent/wxpayface/i/c; 2020-02-18 22:54:38.086 2407-2412/? W/art: Null DexFile::mCookie for Lcom/tencent/wxpayface/deamon/f; 2020-02-18 22:54:38.086 2407-2412/? W/art: Null DexFile::mCookie for Lcom/tencent/wxpayface/deamon/f; 2020-02-18 22:54:38.087 2407-2412/? W/art: Null DexFile::mCookie for Lcom/tencent/wxpayface/deamon/f; 2020-02-18 22:54:39.252 4471-4510/com.tencent.wmpf I/art: Waiting for a blocking GC DisableMovingGc 2020-02-18 22:54:39.252 4471-4510/com.tencent.wmpf I/art: Starting a blocking GC DisableMovingGc 2020-02-18 22:54:39.253 4644-5008/com.tencent.wmpf.demo I/IPC.IPCInvokeCallbackWrapper: release ref of callback(18863010) 2020-02-18 22:54:39.253 4644-5008/com.tencent.wmpf.demo I/IPC.ObjectRecycler: removeFromSet(com.tencent.wmpf) 2020-02-18 22:54:52.963 4516-4516/com.tencent.ilink.ServiceProcess D/IlinkService: [, , 0]:Receive broadcast mypkgname:com.tencent.wmpf, sender:com.tencent.wmpf, sender process:null 2020-02-18 22:54:52.966 4516-4516/com.tencent.ilink.ServiceProcess D/IlinkService: [, , 0]:Alive msg send by ourself not need to handle! 2020-02-18 22:54:52.968 4516-4552/com.tencent.ilink.ServiceProcess D/IlinkService: [, , 0]:It is a timer alive task:13 and version is:33554461 2020-02-18 22:55:00.723 4644-4768/com.tencent.wmpf.demo I/IPC.IPCBridgeManager: [getIPCBridge] process:com.tencent.wmpf 2020-02-18 22:55:00.723 4644-4768/com.tencent.wmpf.demo I/IPC.ObjectRecycler: addIntoSet(com.tencent.wmpf) 2020-02-18 22:55:00.723 4644-4768/com.tencent.wmpf.demo I/IPC.IPCInvokeCallbackWrapper: keep ref of callback(41347736) 2020-02-18 22:55:00.732 4644-5008/com.tencent.wmpf.demo I/ljkDocumentActivity: success: 0 2020-02-18 22:55:00.747 4644-4653/com.tencent.wmpf.demo I/IPC.ObjectRecycler: removeFromSet(com.tencent.wmpf) 2020-02-18 22:55:00.748 4644-4653/com.tencent.wmpf.demo I/IPC.IPCInvokeCallbackWrapper: finalize(48539815) 2020-02-18 22:55:00.749 4644-4653/com.tencent.wmpf.demo I/IPC.ObjectRecycler: removeFromSet(com.tencent.wmpf) 2020-02-18 22:55:00.749 763-789/? I/ActivityManager: Start proc 5027:com.tencent.wmpf:container3/u0a72 for service com.tencent.wmpf/.app.WMPFContainerProcessIPCService3 2020-02-18 22:55:00.749 4644-4653/com.tencent.wmpf.demo I/IPC.IPCInvokeCallbackWrapper: finalize(217947441) 2020-02-18 22:55:00.749 4644-4653/com.tencent.wmpf.demo I/IPC.ObjectRecycler: removeFromSet(com.tencent.wmpf) 2020-02-18 22:55:00.749 4644-4653/com.tencent.wmpf.demo I/IPC.IPCInvokeCallbackWrapper: finalize(78091407) 2020-02-18 22:55:00.750 4644-4653/com.tencent.wmpf.demo I/IPC.ObjectRecycler: removeFromSet(com.tencent.wmpf) 2020-02-18 22:55:00.750 4644-4653/com.tencent.wmpf.demo I/IPC.IPCInvokeCallbackWrapper: finalize(241105074) 2020-02-18 22:55:00.814 5027-5027/com.tencent.wmpf:container3 W/Tinker.TinkerLoader: tryLoadPatchFiles:patch dir not exist:/data/user/0/com.tencent.wmpf/tinker 2020-02-18 22:55:00.815 5027-5027/com.tencent.wmpf:container3 D/Tinker.DefaultAppLike: onBaseContextAttached: 2020-02-18 22:55:00.817 5027-5027/com.tencent.wmpf:container3 I/Tinker.ReflectApp: with app realApplication from manifest applicationName:com.tencent.wmpf.app.WMPFServiceApplication 2020-02-18 22:55:00.824 5027-5027/com.tencent.wmpf:container3 I/MultiDex: VM with version 2.1.0 has multidex support 2020-02-18 22:55:00.824 5027-5027/com.tencent.wmpf:container3 I/MultiDex: Installing application 2020-02-18 22:55:00.824 5027-5027/com.tencent.wmpf:container3 I/MultiDex: VM has multidex support, MultiDex support library is disabled. 2020-02-18 22:55:00.832 5027-5027/com.tencent.wmpf:container3 I/MMKV: current API level = 25 2020-02-18 22:55:00.832 5027-5027/com.tencent.wmpf:container3 I/MMKV: page size:4096 2020-02-18 22:55:00.832 5027-5027/com.tencent.wmpf:container3 I/MMKV: root dir: /data/user/0/com.tencent.wmpf/files/mmkv 2020-02-18 22:55:00.855 5027-5027/com.tencent.wmpf:container3 E/VFS.FileSystemManager: Invalid parcel file size: 0 2020-02-18 22:55:00.857 5027-5027/com.tencent.wmpf:container3 I/VFS.FileSystemManager: Broadcast receiving enabled. 2020-02-18 22:55:00.858 5027-5027/com.tencent.wmpf:container3 I/WMPF.XLogSetup: init done nameprefix:com.tencent.wmpf:container3 false 2020-02-18 22:55:00.870 5027-5027/com.tencent.wmpf:container3 I/Tinker.TinkerPatchListener: application maxMemory:192 2020-02-18 22:55:00.872 5027-5027/com.tencent.wmpf:container3 W/Tinker.Tinker: tinker patch directory: /data/user/0/com.tencent.wmpf/tinker 2020-02-18 22:55:00.873 5027-5027/com.tencent.wmpf:container3 I/Tinker.Tinker: try to install tinker, isEnable: true, version: 1.9.9 2020-02-18 22:55:00.874 5027-5027/com.tencent.wmpf:container3 I/Tinker.TinkerLoadResult: parseTinkerResult loadCode:-2, process name:com.tencent.wmpf:container3, main process:false, systemOTA:false, fingerPrint:Android/rk3288/rk3288:7.1.2/NHG47K/user.xzj.20191105.094800:user/release-keys, oatDir:null, useInterpretMode:false 2020-02-18 22:55:00.874 5027-5027/com.tencent.wmpf:container3 W/Tinker.TinkerLoadResult: can't find patch file, is ok, just return 2020-02-18 22:55:00.874 5027-5027/com.tencent.wmpf:container3 I/Tinker.DefaultLoadReporter: patch loadReporter onLoadResult: patch load result, path:/data/user/0/com.tencent.wmpf/tinker, code: -2, cost: 5ms 2020-02-18 22:55:00.874 5027-5027/com.tencent.wmpf:container3 W/Tinker.Tinker: tinker load fail! 2020-02-18 22:55:00.877 5027-5027/com.tencent.wmpf:container3 E/Tinker.ReflectApp: replaceApplicationLike delegateClass:class com.tencent.bugly.beta.tinker.TinkerApplicationLike 2020-02-18 22:55:00.878 5027-5027/com.tencent.wmpf:container3 I/Tinker.ComponentHotplug: method install() is not invoked, ignore ensuring operations. 2020-02-18 22:55:00.878 5027-5027/com.tencent.wmpf:container3 D/Tinker.DefaultAppLike: onCreate 2020-02-18 22:55:00.881 5027-5027/com.tencent.wmpf:container3 W/IPC.IPCBridgeManager: warning: override ipc service: com.tencent.wmpf/com.tencent.wmpf -> class com.tencent.wmpf.app.c$b 2020-02-18 22:55:00.882 5027-5027/com.tencent.wmpf:container3 I/IPC.IPCInvokerBoot: setup IPCInvoker(process : com.tencent.wmpf:container3, application : 136997454) 2020-02-18 22:55:00.924 5027-5027/com.tencent.wmpf:container3 W/wmpf:container3: type=1400 audit(0.0:243): avc: denied { read } for name="anr" dev="mmcblk1p14" ino=55 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:anr_data_file:s0 tclass=dir permissive=0 2020-02-18 22:55:00.932 5027-5027/com.tencent.wmpf:container3 W/MicroMsg.SDK.Log: new log level: 1 2020-02-18 22:55:00.932 5027-5027/com.tencent.wmpf:container3 E/MicroMsg.SDK.Log: no jni log level support 2020-02-18 22:55:00.987 5027-5027/com.tencent.wmpf:container3 I/MMKV: loading [mmkv.default] with 1610 size in total, file size is 4096 2020-02-18 22:55:00.987 5027-5027/com.tencent.wmpf:container3 I/MMKV: loading [mmkv.default] with crc 3770853611 sequence 2 2020-02-18 22:55:00.988 5027-5027/com.tencent.wmpf:container3 I/MMKV: loaded [mmkv.default] with 9 values 2020-02-18 22:55:01.044 5027-5058/com.tencent.wmpf:container3 I/NLog: Load NLog 1.3 2020-02-18 22:55:01.046 5027-5058/com.tencent.wmpf:container3 I/NLog: NLog Start... 2020-02-18 22:55:01.051 5027-5060/com.tencent.wmpf:container3 I/NLog: NLog thread start... 2020-02-18 22:55:01.051 5027-5060/com.tencent.wmpf:container3 W/NLog: Call Read,Queue is null!!!! 2020-02-18 22:55:01.051 5027-5060/com.tencent.wmpf:container3 I/NLog: Thread wait read... 2020-02-18 22:55:01.060 5027-5058/com.tencent.wmpf:container3 I/NATIVE_LOG: NLogInit succeeded 2020-02-18 22:55:01.086 5027-5027/com.tencent.wmpf:container3 I/MMKV: loading [Luggage.WxaDeviceInfo] with 610 size in total, file size is 4096 2020-02-18 22:55:01.086 5027-5027/com.tencent.wmpf:container3 I/MMKV: loading [Luggage.WxaDeviceInfo] with crc 1656486520 sequence 2 2020-02-18 22:55:01.086 5027-5027/com.tencent.wmpf:container3 I/MMKV: loaded [Luggage.WxaDeviceInfo] with 7 values 2020-02-18 22:55:01.089 5027-5027/com.tencent.wmpf:container3 D/IlinkServiceInterface: Create IlinkServiceInterface 2020-02-18 22:55:01.095 5027-5027/com.tencent.wmpf:container3 D/IlinkServiceImpl: Create IlinkServiceImpl 2020-02-18 22:55:01.095 5027-5027/com.tencent.wmpf:container3 D/IlinkServiceApiTask: Create IlinkApiTaskManager 2020-02-18 22:55:01.135 5027-5066/com.tencent.wmpf:container3 E/XWebSdk: context or appinfo == null 2020-02-18 22:55:01.135 5027-5066/com.tencent.wmpf:container3 E/XWebSdk: context or appinfo == null 2020-02-18 22:55:01.136 5027-5066/com.tencent.wmpf:container3 I/XWalkEnvironment: Device ABI: armeabi-v7a 2020-02-18 22:55:01.137 5027-5066/com.tencent.wmpf:container3 I/XWalkEnvironment: Runtime ABI: armeabi-v7a 2020-02-18 22:55:01.137 5027-5066/com.tencent.wmpf:container3 I/XWalkEnvironment: current abi is armeabi-v7a 2020-02-18 22:55:01.139 5027-5066/com.tencent.wmpf:container3 I/XWalkPluginMgr: initPlugins 2020-02-18 22:55:01.142 5027-5066/com.tencent.wmpf:container3 I/FullScreenVideo: loadVer, version = 10 2020-02-18 22:55:01.143 5027-5066/com.tencent.wmpf:container3 I/XFilesPDFReader: loadVer, version = -1 2020-02-18 22:55:01.145 5027-5066/com.tencent.wmpf:container3 I/XFilesPPTReader: loadVer, version = -1 2020-02-18 22:55:01.146 5027-5066/com.tencent.wmpf:container3 I/XFilesWordReader: loadVer, version = -1 2020-02-18 22:55:01.147 5027-5066/com.tencent.wmpf:container3 I/XFilesExcelReader: loadVer, version = -1 2020-02-18 22:55:01.151 5027-5027/com.tencent.wmpf:container3 W/Tinker.UpgradePatchRetry: onPatchRetryLoad retry is not main process, just return 2020-02-18 22:55:01.155 5027-5066/com.tencent.wmpf:container3 I/WCWebUpdater: start check runtime update 2020-02-18 22:55:01.156 5027-5066/com.tencent.wmpf:container3 I/XWalkLib: Pre init xwalk core in com.tencent.wmpf.app.WMPFServiceApplication 2020-02-18 22:55:01.160 5027-5066/com.tencent.wmpf:container3 I/XWalkUpdater: start updating progress 2020-02-18 22:55:01.160 5027-5066/com.tencent.wmpf:container3 I/XWalkUpdater: ASSETS_INSTALLER: install stopped this version too old 2020-02-18 22:55:01.162 5027-5066/com.tencent.wmpf:container3 I/XWalkUpdater: finish updating progress 2020-02-18 22:55:01.164 5027-5066/com.tencent.wmpf:container3 E/XWalkEnvironment: initSafePsProvider failed 2020-02-18 22:55:01.168 5027-5066/com.tencent.wmpf:container3 I/XWalkUpdaterImp: try clear test setings 2020-02-18 22:55:01.172 5027-5066/com.tencent.wmpf:container3 I/XWalkUpdater: XWalkUpdateChecker notify received !! mNotifyType = 0 2020-02-18 22:55:01.172 5027-5066/com.tencent.wmpf:container3 I/XWalkPluginUp: change status from 0 to 1 errcode: 0 2020-02-18 22:55:01.173 5027-5066/com.tencent.wmpf:container3 I/xweb.WebView: try to init webview core = WV_KIND_CW 2020-02-18 22:55:01.175 5027-5066/com.tencent.wmpf:container3 I/XWebViewHelper: preInit 2020-02-18 22:55:01.176 5027-5066/com.tencent.wmpf:container3 I/XWalkLib: Pre init xwalk core in com.tencent.wmpf.app.WMPFServiceApplication 2020-02-18 22:55:01.176 5027-5066/com.tencent.wmpf:container3 I/XWalkLib: Attach xwalk core 2020-02-18 22:55:01.186 5027-5066/com.tencent.wmpf:container3 I/XWalkLib: Init core bridge 2020-02-18 22:55:01.194 5027-5066/com.tencent.wmpf:container3 I/XWalkLib: [Environment] SDK:25 2020-02-18 22:55:01.194 5027-5066/com.tencent.wmpf:container3 I/XWalkLib: [App Version] build:24.53.595.0, api:8, min_api:1 2020-02-18 22:55:01.194 5027-5066/com.tencent.wmpf:container3 I/XWalkLib: [Lib Version] build:24.53.595.0, api:8, min_api:5 2020-02-18 22:55:01.195 5027-5066/com.tencent.wmpf:container3 I/XWalkLib: XWalk core version matched 2020-02-18 22:55:01.220 5027-5066/com.tencent.wmpf:container3 I/cr_LibraryLoader: Time to load native libraries: 1 ms (timestamps 5775-5776) 2020-02-18 22:55:01.220 5027-5066/com.tencent.wmpf:container3 D/XWalkViewDelegate: Native library is built for ARM 2020-02-18 22:55:01.220 5027-5066/com.tencent.wmpf:container3 D/XWalkViewDelegate: Device ABI: armeabi-v7a 2020-02-18 22:55:01.221 5027-5066/com.tencent.wmpf:container3 I/XWalkLib: XWalk core architecture matched 2020-02-18 22:55:01.222 5027-5066/com.tencent.wmpf:container3 I/XWalkLib: XWalk checkCoreApk matched 2020-02-18 22:55:01.224 5027-5066/com.tencent.wmpf:container3 I/XWalkLib: initLog success! 2020-02-18 22:55:01.224 5027-5066/com.tencent.wmpf:container3 I/XWalkLib: Running in downloaded mode 2020-02-18 22:55:01.224 5027-5066/com.tencent.wmpf:container3 I/XWalkLib: Dock xwalk core 2020-02-18 22:55:01.226 5027-5066/com.tencent.wmpf:container3 I/XWalkLib: [WCWebview] :[XWalkViewDelegate] invokeRuntimeChannel called funid = 80005 2020-02-18 22:55:01.228 5027-5066/com.tencent.wmpf:container3 I/XWalkLib: Post init xwalk core in com.tencent.wmpf.app.WMPFServiceApplication 2020-02-18 22:55:01.228 5027-5066/com.tencent.wmpf:container3 I/XWalkUpdater: initSync Sucsess 2020-02-18 22:55:01.228 5027-5066/com.tencent.wmpf:container3 I/XWebViewHelper: preInit finished 2020-02-18 22:55:01.232 5027-5066/com.tencent.wmpf:container3 I/XWalkUpdater: init webview core type = WV_KIND_CW, sdk:191102,xweb apk ver:1050 2020-02-18 22:55:01.234 5027-5066/com.tencent.wmpf:container3 D/NetworkSecurityConfig: No Network Security Config specified, using platform default 2020-02-18 22:55:01.466 5027-5081/com.tencent.wmpf:container3 I/XWalkUpdater: enough time after last time fetch config 2020-02-18 22:55:01.606 5027-5084/com.tencent.wmpf:container3 I/XWalkUpdater: getPluginUpdatePeriod use defaultPeriod 2020-02-18 22:55:01.606 5027-5084/com.tencent.wmpf:container3 I/XWalkUpdater: XWalkPluginUp: too close, no need to fetch 2020-02-18 22:55:01.619 5027-5027/com.tencent.wmpf:container3 I/MagicBrush: load mmv8 cost [45]ms, load magicbrush cost [0]ms 2020-02-18 22:55:01.626 5027-5027/com.tencent.wmpf:container3 I/MagicBrush: w/h invalid, use context automatically. 640/1024 2020-02-18 22:55:01.626 5027-5027/com.tencent.wmpf:container3 I/MagicBrush: FileSystem invalid, BindingFileSystem can not use. BE CAUTIOUS! 2020-02-18 22:55:01.627 5027-5027/com.tencent.wmpf:container3 D/NativeImageJni: load library 2020-02-18 22:55:01.641 5027-5027/com.tencent.wmpf:container3 I/MagicBrush: Create 2020-02-18 22:55:01.641 5027-5027/com.tencent.wmpf:container3 I/MagicBrush: Build JClzHelper 2020-02-18 22:55:01.641 5027-5027/com.tencent.wmpf:container3 I/MagicBrush: JNIClass init with className [java/nio/Buffer] 2020-02-18 22:55:01.641 5027-5027/com.tencent.wmpf:container3 I/MagicBrush: JNIClass init with className [android/graphics/Bitmap] 2020-02-18 22:55:01.642 5027-5027/com.tencent.wmpf:container3 I/MagicBrush: dl: Params is_game = [false] enable_2d = [false] gc_factor = [0.00] allow_antialias = [false] allow_opengl3 = [true] device_pixel_ratio = [1.25], screen = [640, 1024] use_command_buffer = [false] enable_gfx = [false] cmd_pool_type = [swapqueue] enable_window_attributes_alpha = [true] 2020-02-18 22:55:01.642 5027-5027/com.tencent.wmpf:container3 I/MagicBrush: JNIClass init with className [android/os/Process] 2020-02-18 22:55:01.642 5027-5027/com.tencent.wmpf:container3 I/MagicBrush: Building MBRuntime... 2020-02-18 22:55:01.642 5027-5027/com.tencent.wmpf:container3 I/MagicBrush: damonlei informs, This is a [Release] version. WX_BUILD_JOB: null-#0 WX_BUILD_BRANCH: unstable/RB-2019-NOV/fix-drawcall WX_BUILD_REVISION: f2cd3b14 WX_BUILD_TIME: 2020-02-18 22:55:01.642 5027-5027/com.tencent.wmpf:container3 I/MagicBrush: Building MBRuntime... end 2020-02-18 22:55:01.642 5027-5027/com.tencent.wmpf:container3 I/MagicBrush: set_event_listener 2020-02-18 22:55:01.642 5027-5027/com.tencent.wmpf:container3 I/MagicBrush: MBRuntime::set_event_listener oldListener?(null) 2020-02-18 22:55:01.642 5027-5027/com.tencent.wmpf:container3 I/MicroMsg.MagicBrush.MBRuntime: MBRuntime.set_jsthread_handler 2020-02-18 22:55:01.643 5027-5027/com.tencent.wmpf:container3 I/MagicBrush: SetImageHandler 2020-02-18 22:55:01.643 5027-5027/com.tencent.wmpf:container3 I/NativeImage: [WxImageLoader] construct 2020-02-18 22:55:01.643 5027-5027/com.tencent.wmpf:container3 I/MagicBrush: SetFontHandler 2020-02-18 22:55:01.643 5027-5027/com.tencent.wmpf:container3 I/MagicBrush: SetFontHandler end. 2020-02-18 22:55:01.644 5027-5027/com.tencent.wmpf:container3 I/AnimationFrameHandler: AnimationFrameHandler[ChoreographerInMainThread] create main 2020-02-18 22:55:01.654 5027-5027/com.tencent.wmpf:container3 I/WMPF.XwebCameraUtil: isUseXwebCamera:true 2020-02-18 22:55:01.735 5027-5083/com.tencent.wmpf:container3 I/skiacanvas: setLogHandler 2020-02-18 22:55:01.791 5027-5083/com.tencent.wmpf:container3 W/art: Attempt to remove non-JNI local reference, dumping thread 2020-02-18 22:55:02.024 5027-5027/com.tencent.wmpf:container3 D/cr_BuildInfo: [BuildInfo.java:113] GMS package is not found. android.content.pm.PackageManager$NameNotFoundException: com.google.android.gms at android.app.ApplicationPackageManager.getPackageInfoAsUser(ApplicationPackageManager.java:148) at android.app.ApplicationPackageManager.getPackageInfo(ApplicationPackageManager.java:133) at org.chromium.base.BuildInfo.(BuildInfo.java:111) at org.chromium.base.BuildInfo.(BuildInfo.java:21) at org.chromium.base.BuildInfo$Holder.(BuildInfo.java:53) at org.chromium.base.BuildInfo.getInstance(BuildInfo.java:84) at org.chromium.base.BuildInfo.getAll(BuildInfo.java:57) at org.chromium.content.browser.BrowserStartupController.nativeSetCommandLineFlags(Native Method) at org.chromium.content.browser.BrowserStartupController.prepareToStartBrowserProcess(BrowserStartupController.java:346) at org.chromium.content.browser.BrowserStartupController.startBrowserProcessesSync(BrowserStartupController.java:224) at org.xwalk.core.internal.XWalkViewDelegate$1.run(XWalkViewDelegate.java:482) at org.chromium.base.ThreadUtils.runOnUiThreadBlocking(ThreadUtils.java:74) at org.xwalk.core.internal.XWalkViewDelegate.startBrowserProcess(XWalkViewDelegate.java:437) at org.xwalk.core.internal.XWalkViewDelegate.init(XWalkViewDelegate.java:230) at org.xwalk.core.internal.XWalkViewInternal.initXWalkContent(XWalkViewInternal.java:389) at org.xwalk.core.internal.XWalkViewInternal.(XWalkViewInternal.java:302) at org.xwalk.core.internal.XWalkViewBridge.(XWalkViewBridge.java:37) at java.lang.reflect.Constructor.newInstance0(Native Method) at java.lang.reflect.Constructor.newInstance(Constructor.java:430) at org.xwalk.core.ReflectConstructor.newInstance(SourceFile:48) at org.xwalk.core.XWalkView.reflectionInit(SourceFile:2511) at org.xwalk.core.XWalkView.(SourceFile:268) at com.tencent.xweb.xwalk.j$b.(SourceFile:138) at com.tencent.xweb.xwalk.j.(SourceFile:985) at com.tencent.xweb.xwalk.XWalkWebFactory.createWebView(SourceFile:167) at com.tencent.xweb.internal.h.a(SourceFile:119) at com.tencent.xweb.WebView.a(SourceFile:407) at com.tencent.xweb.WebView.(SourceFile:297) at com.tencent.xweb.WebView.(SourceFile:292) at com.tencent.xweb.WebView.(SourceFile:288) at com.tencent.xweb.WebView.(SourceFile:284) at com.tencent.mm.plugin.appbrand.page.bj.(XWebViewImpl.java:99) at com.tencent.luggage.l.g.b.b(MPPageViewRendererStandaloneXWebImpl.java:38) at com.tencent.mm.plugin.appbrand.page.at.c(MPPageViewRenderer.java:10236) at com.tencent.mm.plugin.appbrand.page.a.a(AbstractMPPageViewRenderer.java:313) at com.tencent.mm.plugin.appbrand.page.t.c(AppBrandPageView.java:26430) at com.tencent.mm.plugin.appbrand.jsapi.d.L(AppBrandComponentImpl.java:124) at com.tencent.mm.plugin.appbrand.page.t.s(AppBrandPageView.java:210) at com.tencent.luggage.l.a.a.c(RuntimePreloader.java:4174) at com.tencent.luggage.l.a.a$2.run(RuntimePreloader.java:259) at com.tencent.mm.s.b.t.run(MessageTask.java:130) at android.os.Handler.handleCallback(Handler.java:755) at android.os.Handler.dispatchMessage(Handler.java:95) at com.tencent.mm.s.b.q.dispatchMessage(MMInnerHandler.java:129) at android.os.Looper.loop(Looper.java:154) at android.app.ActivityThread.main(ActivityThread.java:6141) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:912) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:802) 2020-02-18 22:55:02.137 5027-5083/com.tencent.wmpf:container3 I/MagicBrush: Init 2020-02-18 22:55:02.137 5027-5083/com.tencent.wmpf:container3 I/MagicBrush: [MBRuntime] OnCreate, starting RenderThread 2020-02-18 22:55:02.137 5027-5083/com.tencent.wmpf:container3 I/MagicBrush: Building RenderThread... 2020-02-18 22:55:02.137 5027-5083/com.tencent.wmpf:container3 I/MagicBrush: RenderThread start... 2020-02-18 22:55:02.137 5027-5083/com.tencent.wmpf:container3 I/MagicBrush: [MBRuntime] OnCreate, end 2020-02-18 22:55:02.147 5027-5083/com.tencent.wmpf:container3 I/MagicBrush: BindTo 2020-02-18 22:55:02.147 5027-5083/com.tencent.wmpf:container3 I/MagicBrush: BindTo isolate[0x8a6f0ec0] context[0x8a757cc8] uv[0x0] 2020-02-18 22:55:02.147 5027-5083/com.tencent.wmpf:container3 I/MagicBrush: [MBRuntime] Binding to specific JsContext... 2020-02-18 22:55:02.147 5027-5083/com.tencent.wmpf:container3 I/MagicBrush: InitArray shift done 2020-02-18 22:55:02.149 5027-5107/com.tencent.wmpf:container3 I/MagicBrush: RenderThread is running... 2020-02-18 22:55:02.149 5027-5107/com.tencent.wmpf:container3 I/MagicBrush: Build RenderThread, done 2020-02-18 22:55:02.149 5027-5107/com.tencent.wmpf:container3 I/MagicBrush: Build GLContextManager successfully. 2020-02-18 22:55:02.149 5027-5107/com.tencent.wmpf:container3 I/MagicBrush: [GLContextManager] create a new GLContext 2020-02-18 22:55:02.149 5027-5107/com.tencent.wmpf:container3 I/MagicBrush: [GLContextManager] try to find context GLContext?[null] NativeContext?[null] 2020-02-18 22:55:02.150 5027-5107/com.tencent.wmpf:container3 I/MagicBrush: [OpenGLES3] libgles3 found?[true] 2020-02-18 22:55:02.155 5027-5083/com.tencent.wmpf:container3 I/MagicBrush: hy: accelerator BIND_CLASS 2020-02-18 22:55:02.155 5027-5083/com.tencent.wmpf:container3 I/MagicBrush: hy: view BIND_CLASS 2020-02-18 22:55:02.155 5027-5083/com.tencent.wmpf:container3 I/MagicBrush: hy: renderdraw BIND_CLASS 2020-02-18 22:55:02.155 5027-5083/com.tencent.wmpf:container3 I/MagicBrush: hy: commandBuffer BIND_CLASS 2020-02-18 22:55:02.155 5027-5083/com.tencent.wmpf:container3 I/MagicBrush: hy: BindingVertexLayout BIND_CLASS 2020-02-18 22:55:02.155 5027-5083/com.tencent.wmpf:container3 I/MagicBrush: hy: rect BIND_CLASS 2020-02-18 22:55:02.155 5027-5083/com.tencent.wmpf:container3 I/MagicBrush: hy: BindingBatchRenderBuffer BIND_CLASS 2020-02-18 22:55:02.155 5027-5083/com.tencent.wmpf:container3 I/MagicBrush: hy: BindingNativeValue BIND_CLASS 2020-02-18 22:55:02.157 5027-5107/com.tencent.wmpf:container3 I/mali_so: [File] : hardware/arm/maliT760/driver/product/base/src/mali_base_kbase.c; [Line] : 876; [Func] : base_context_deal_with_version_affairs_rk_ext; arm_release_ver of this mali_so is 'r18p0-01rel0', rk_so_ver is '3@0'. 2020-02-18 22:55:02.157 5027-5107/com.tencent.wmpf:container3 D/mali_so: [File] : hardware/arm/maliT760/driver/product/base/src/mali_base_kbase.c; [Line] : 881; [Func] : base_context_deal_with_version_affairs_rk_ext; current process is NOT sf, to bail out. 2020-02-18 22:55:02.160 5027-5027/com.tencent.wmpf:container3 I/ActivityWindowAndroid: ActivityWindowAndroid: not activity 2020-02-18 22:55:02.180 5027-5107/com.tencent.wmpf:container3 I/MagicBrush: EGL initialized successfully. version = [1.4] 2020-02-18 22:55:02.187 5027-5107/com.tencent.wmpf:container3 I/MagicBrush: EGLContext created, client version 3 2020-02-18 22:55:02.187 5027-5107/com.tencent.wmpf:container3 I/MagicBrush: Create EGLNativeGLContext finished successfully. CurrentStaticThreadCtxCounter = [1] antialias = [false] 2020-02-18 22:55:02.188 5027-5107/com.tencent.wmpf:container3 I/MagicBrush: CreatePbuffer done, nosurface?[false] 2020-02-18 22:55:02.209 5027-5107/com.tencent.wmpf:container3 I/MagicBrush: [GLContextManager] GLContext created [1] 2020-02-18 22:55:02.209 5027-5107/com.tencent.wmpf:container3 I/MagicBrush: [Canvas2DRuntime] GLContext built, glContext = [1], preparing resource. 2020-02-18 22:55:02.209 5027-5107/com.tencent.wmpf:container3 I/MagicBrush: [Canvas2DRuntime] building done 2020-02-18 22:55:02.209 5027-5107/com.tencent.wmpf:container3 I/MagicBrush: Canvas2D Interface Enabled 2020-02-18 22:55:02.209 5027-5107/com.tencent.wmpf:container3 I/MagicBrush: [MessageQueue] loop, processing... 2020-02-18 22:55:02.214 5027-5083/com.tencent.wmpf:container3 I/MagicBrush: dl: EJV8 init 2020-02-18 22:55:02.216 5027-5083/com.tencent.wmpf:container3 I/MagicBrush: [MBRuntime] Setup commandbuffer now... 2020-02-18 22:55:02.253 5027-5083/com.tencent.wmpf:container3 I/MagicBrush: [MBRuntime] Setup comandbuffer success 2020-02-18 22:55:02.253 5027-5083/com.tencent.wmpf:container3 I/MagicBrush: [MBRuntime] Setup gfx success 2020-02-18 22:55:02.253 5027-5083/com.tencent.wmpf:container3 I/MagicBrush: [MBRuntime] Binding Finished. NativeGlobal prepared. 2020-02-18 22:55:02.306 5027-5027/com.tencent.wmpf:container3 W/art: Attempt to remove non-JNI local reference, dumping thread 2020-02-18 22:55:02.332 5027-5027/com.tencent.wmpf:container3 V/XWalkViewShared: Binding Chromium to main looper Looper (main, tid 1) {4d9cec2} 2020-02-18 22:55:02.544 5027-5027/com.tencent.wmpf:container3 W/System.err: java.lang.UnsupportedOperationException: class org.xwalk.core.internal.XWalkViewBridge.setExtendTextAreaClientSuper 2020-02-18 22:55:02.544 5027-5027/com.tencent.wmpf:container3 W/System.err: at org.xwalk.core.ReflectMethod.invoke(SourceFile:57) 2020-02-18 22:55:02.544 5027-5027/com.tencent.wmpf:container3 W/System.err: at org.xwalk.core.XWalkView.setExtendTextAreaClient(SourceFile:1397) 2020-02-18 22:55:02.544 5027-5027/com.tencent.wmpf:container3 W/System.err: at com.tencent.mm.plugin.appbrand.page.bj.(XWebViewImpl.java:2073) 2020-02-18 22:55:02.544 5027-5027/com.tencent.wmpf:container3 W/System.err: at com.tencent.luggage.l.g.b.b(MPPageViewRendererStandaloneXWebImpl.java:38) 2020-02-18 22:55:02.544 5027-5027/com.tencent.wmpf:container3 W/System.err: at com.tencent.mm.plugin.appbrand.page.at.c(MPPageViewRenderer.java:10236) 2020-02-18 22:55:02.544 5027-5027/com.tencent.wmpf:container3 W/System.err: at com.tencent.mm.plugin.appbrand.page.a.a(AbstractMPPageViewRenderer.java:313) 2020-02-18 22:55:02.545 5027-5027/com.tencent.wmpf:container3 W/System.err: at com.tencent.mm.plugin.appbrand.page.t.c(AppBrandPageView.java:26430) 2020-02-18 22:55:02.545 5027-5027/com.tencent.wmpf:container3 W/System.err: at com.tencent.mm.plugin.appbrand.jsapi.d.L(AppBrandComponentImpl.java:124) 2020-02-18 22:55:02.545 5027-5027/com.tencent.wmpf:container3 W/System.err: at com.tencent.mm.plugin.appbrand.page.t.s(AppBrandPageView.java:210) 2020-02-18 22:55:02.545 5027-5027/com.tencent.wmpf:container3 W/System.err: at com.tencent.luggage.l.a.a.c(RuntimePreloader.java:4174) 2020-02-18 22:55:02.545 5027-5027/com.tencent.wmpf:container3 W/System.err: at com.tencent.luggage.l.a.a$2.run(RuntimePreloader.java:259) 2020-02-18 22:55:02.545 5027-5027/com.tencent.wmpf:container3 W/System.err: at com.tencent.mm.s.b.t.run(MessageTask.java:130) 2020-02-18 22:55:02.545 5027-5027/com.tencent.wmpf:container3 W/System.err: at android.os.Handler.handleCallback(Handler.java:755) 2020-02-18 22:55:02.545 5027-5027/com.tencent.wmpf:container3 W/System.err: at android.os.Handler.dispatchMessage(Handler.java:95) 2020-02-18 22:55:02.545 5027-5027/com.tencent.wmpf:container3 W/System.err: at com.tencent.mm.s.b.q.dispatchMessage(MMInnerHandler.java:129) 2020-02-18 22:55:02.545 5027-5027/com.tencent.wmpf:container3 W/System.err: at android.os.Looper.loop(Looper.java:154) 2020-02-18 22:55:02.545 5027-5027/com.tencent.wmpf:container3 W/System.err: at android.app.ActivityThread.main(ActivityThread.java:6141) 2020-02-18 22:55:02.545 5027-5027/com.tencent.wmpf:container3 W/System.err: at java.lang.reflect.Method.invoke(Native Method) 2020-02-18 22:55:02.545 5027-5027/com.tencent.wmpf:container3 W/System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:912) 2020-02-18 22:55:02.545 5027-5027/com.tencent.wmpf:container3 W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:802) 2020-02-18 22:55:02.569 5027-5122/com.tencent.wmpf:container3 E/libEGL: validate_display:99 error 3008 (EGL_BAD_DISPLAY) 2020-02-18 22:55:02.631 5027-5027/com.tencent.wmpf:container3 I/MMKV: root dir: /data/user/0/com.tencent.wmpf/files/mmkv 2020-02-18 22:55:02.740 5027-5122/com.tencent.wmpf:container3 I/VideoCapabilities: Unsupported profile 4 for video/mp4v-es 2020-02-18 22:55:02.991 5027-5027/com.tencent.wmpf:container3 I/WMPF.XwebCameraUtil: isUseXwebCamera:true 2020-02-18 22:55:05.816 4471-4578/com.tencent.wmpf I/art: Waiting for a blocking GC DisableMovingGc 2020-02-18 22:55:05.816 4471-4578/com.tencent.wmpf I/art: Starting a blocking GC DisableMovingGc 2020-02-18 22:55:05.817 4644-4657/com.tencent.wmpf.demo I/IPC.IPCInvokeCallbackWrapper: release ref of callback(41347736) 2020-02-18 22:55:05.818 4644-4657/com.tencent.wmpf.demo I/IPC.ObjectRecycler: removeFromSet(com.tencent.wmpf) 2020-02-18 22:55:22.988 4516-4516/com.tencent.ilink.ServiceProcess D/IlinkService: [, , 0]:Receive broadcast mypkgname:com.tencent.wmpf, sender:com.tencent.wmpf, sender process:null 2020-02-18 22:55:22.991 4516-4516/com.tencent.ilink.ServiceProcess D/IlinkService: [, , 0]:Alive msg send by ourself not need to handle! 2020-02-18 22:55:22.994 4516-4552/com.tencent.ilink.ServiceProcess D/IlinkService: [, , 0]:It is a timer alive task:14 and version is:33554461 2020-02-18 22:55:46.095 4644-4644/com.tencent.wmpf.demo E/ljkApi: launchAppId =wx7643d5f831302ab0 path= appType=0 2020-02-18 22:55:46.108 4644-4644/com.tencent.wmpf.demo E/ljk: result = true 2020-02-18 22:55:46.109 4644-4695/com.tencent.wmpf.demo I/IPC.IPCBridgeManager: [getIPCBridge] process:com.tencent.wmpf 2020-02-18 22:55:46.109 4644-4695/com.tencent.wmpf.demo I/IPC.ObjectRecycler: addIntoSet(com.tencent.wmpf) 2020-02-18 22:55:46.109 4644-4695/com.tencent.wmpf.demo I/IPC.IPCInvokeCallbackWrapper: keep ref of callback(238819396) 2020-02-18 22:55:46.117 4644-4657/com.tencent.wmpf.demo I/ljkDocumentActivity: success: 10006 no activate 2020-02-18 22:55:46.117 4644-4657/com.tencent.wmpf.demo E/ljk: response = 0 no activate 10006 2020-02-18 22:55:51.199 4471-4579/com.tencent.wmpf I/art: Waiting for a blocking GC DisableMovingGc 2020-02-18 22:55:51.199 4471-4579/com.tencent.wmpf I/art: Starting a blocking GC DisableMovingGc 2020-02-18 22:55:51.200 4644-4657/com.tencent.wmpf.demo I/IPC.IPCInvokeCallbackWrapper: release ref of callback(238819396) 2020-02-18 22:55:51.200 4644-4657/com.tencent.wmpf.demo I/IPC.ObjectRecycler: removeFromSet(com.tencent.wmpf) 2020-02-18 22:55:52.992 4516-4516/com.tencent.ilink.ServiceProcess D/IlinkService: [, , 0]:Receive broadcast mypkgname:com.tencent.wmpf, sender:com.tencent.wmpf, sender process:null 2020-02-18 22:55:52.994 4516-4516/com.tencent.ilink.ServiceProcess D/IlinkService: [, , 0]:Alive msg send by ourself not need to handle! 2020-02-18 22:55:52.997 4516-4552/com.tencent.ilink.ServiceProcess D/IlinkService: [, , 0]:It is a timer alive task:15 and version is:33554461

charjack commented 4 years ago

可以帮忙看一下吗?这个问题已经困扰好几天了。。。一直跑不通

Hazy-Huang commented 4 years ago

麻烦排查一下productId, keyVersion, deviceId, signature等入参是否有误,可以参考一下硬件注册步骤