12-18 11:45:05.745 21753 21753 D ActivityThread: ComponentInfo{com.google.android.gms/com.google.android.gms.signin.activity.ConsentActivity} checkFinished=false 2
12-18 11:45:05.745 21753 21753 D ResourcesManagerExtImpl: applyConfigurationToAppResourcesLocked app.getDisplayId() return callback.displayId:-1
12-18 11:45:05.747 1820 1820 D Layer : reparent to null sequence=576, seq[2], name=Surface(name=1bbdf2 NavigationBar_displayId_0)/@0xd3fb08d - animation-leash of insets_animation#576
12-18 11:45:05.747 1820 1820 D Layer : reparent to null sequence=577, seq[1], name=Surface(name=9cf7768 StatusBar)/@0xf8c8790 - animation-leash of insets_animation#577
12-18 11:45:05.747 1820 1820 D OplusLayer: setGameMode WindowToken{e49a7d9 type=2011 android.os.Binder@66c1220}#400, 0
12-18 11:45:05.747 3181 4414 I Osense-BaseDecisionMaker: notifySceneToAthenaPolicy: SCENE_ACTIVITY_IDLE, bundle: Bundle[{scene=SCENE_ACTIVITY_IDLE}]
12-18 11:45:05.747 3181 4414 D Osense-MemoryReaderUtils: actualSwapTotalMem: 17407, actualSwapFreeMem: 17407
12-18 11:45:05.748 1170 3493 I android.system.suspend-service: --mSuspendCounter = 2
12-18 11:45:05.748 3181 4414 D Osense-MemoryReaderUtils: actualSwapTotalMem: 17407, actualSwapFreeMem: 17407
12-18 11:45:05.748 22576 23266 E AuthPII : [RequestTokenManager] getToken() -> BAD_AUTHENTICATION. App: com.google.android.apps.work.clouddpc, Service: oauth2:https://www.googleapis.com/auth/androiddevicemanagementregistration
12-18 11:45:05.748 22576 23266 E AuthPII : ahdm: Long live credential not available.
12-18 11:45:05.748 22576 23266 E AuthPII : at ryt.a(:com.google.android.gms@[email protected] (190400-572044148):993)
12-18 11:45:05.748 22576 23266 E AuthPII : at rza.b(:com.google.android.gms@[email protected] (190400-572044148):26)
12-18 11:45:05.748 22576 23266 E AuthPII : at ryx.a(:com.google.android.gms@[email protected] (190400-572044148):612)
12-18 11:45:05.748 22576 23266 E AuthPII : at rsb.h(:com.google.android.gms@[email protected] (190400-572044148):3)
12-18 11:45:05.748 22576 23266 E AuthPII : at vtf.i(:com.google.android.gms@[email protected] (190400-572044148):19)
12-18 11:45:05.748 22576 23266 E AuthPII : at vtf.eY(:com.google.android.gms@[email protected] (190400-572044148):1327)
12-18 11:45:05.748 22576 23266 E AuthPII : at mfh.onTransact(:com.google.android.gms@[email protected] (190400-572044148):117)
12-18 11:45:05.748 22576 23266 E AuthPII : at android.os.Binder.transact(Binder.java:1207)
12-18 11:45:05.748 22576 23266 E AuthPII : at bbyo.onTransact(:com.google.android.gms@[email protected] (190400-572044148):10)
12-18 11:45:05.748 22576 23266 E AuthPII : at android.os.Binder.transact(Binder.java:1207)
12-18 11:45:05.748 22576 23266 E AuthPII : at auvb.onTransact(:com.google.android.gms@[email protected] (190400-572044148):147)
12-18 11:45:05.748 22576 23266 E AuthPII : at android.os.Binder.execTransactInternal(Binder.java:1387)
12-18 11:45:05.748 22576 23266 E AuthPII : at android.os.Binder.execTransact(Binder.java:1299)
12-18 11:45:05.748 22576 23266 E AuthPII : Message is Long live credential not available.
明显是这一行引起的:
12-18 11:45:05.748 22576 23266 E AuthPII : [RequestTokenManager] getToken() -> BAD_AUTHENTICATION. App: com.google.android.apps.work.clouddpc, Service: oauth2:https://www.googleapis.com/auth/androiddevicemanagementregistration
目前根据我有限的知识,因为家中的翻墙设备是路由器,所以 work profile 自动就可以翻墙,目测不是墙的问题(换了波兰的 mobile data 也不好用),感觉还是 ColorOS 的适配没这么细导致的。另外手机中的 Google play service 是开启了的,我自己也把 android device poilcy 更新到了最新的(不过每次 enroll work profile 的时候,就会自动变成某一个比较老的版本,不知道为什么)
网上信息相关较少(比如这个 https://github.com/firebase/FirebaseUI-Android/issues/2066#issuecomment-1299393188 ),试了之后也不太起作用。
求助各路大神这个BAD_AUTHENTICATION可能有什么原因?比如证书?或者是其他配置除了问题?另外就是有什么办法能够看到更详细的错误(如果想再细化一下的话)。
多谢各路大神!