Closed charjack closed 4 years ago
是否两次激活,使用的是同一份设备信息?
使用的同一份设备信息,所有的内容都一样,那些变参数(产品id 版本号 设备id 以及签名等等)全部全部是写死在代码中的。
使用的同一份设备信息,所有的内容都一样,那些变参数(产品id 版本号 设备id 以及签名等等)全部全部是写死在代码中的。
这样是不行的,productId和keyVersion可以相同,但deviceId和signature不可以相同
关于激活的问题清楚了,但是这个"response.baseResponse.ret = 10006, response.baseResponse.errMsg = no activate"问题,可以看一下吗?前面步骤都是正确的,到了最后一步,提示这个
下面是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:
可以帮忙看一下吗?这个问题已经困扰好几天了。。。一直跑不通
麻烦排查一下productId, keyVersion, deviceId, signature等入参是否有误,可以参考一下硬件注册步骤
在手机上调用激活接口报如下错误:onSuccess activate device fail: obtain token fail by ilink -1 但是同样的应用在平板上,可以正常激活,但是在平台上运行到最后一步:启动应用提示 "10006 no activate",小程序无法启动