问题描述
GtsPermissionTestCases
12-17 13:24:23 I/ModuleListener: [1/1] com.google.android.permission.gts.SplitPermissionsSystemTest#ensureReadExternalStorageIsSplit fail:
java.lang.AssertionError: The subject was expected to be true, but was false
at com.google.common.truth.FailureStrategy.fail(FailureStrategy.java:24)
at com.google.common.truth.FailureStrategy.fail(FailureStrategy.java:20)
at com.google.common.truth.Subject.failWithRawMessage(Subject.java:381)
at com.google.common.truth.BooleanSubject.isTrue(BooleanSubject.java:43)
at com.google.android.permission.gts.SplitPermissionsSystemTest.ensureReadExternalStorageIsSplit(SplitPermissionsSystemTest.java:55)
java.lang.AssertionError: The subject was expected to be true, but was false
at com.google.common.truth.FailureStrategy.fail(FailureStrategy.java:24)
at com.google.common.truth.FailureStrategy.fail(FailureStrategy.java:20)
at com.google.common.truth.Subject.failWithRawMessage(Subject.java:381)
at com.google.common.truth.BooleanSubject.isTrue(BooleanSubject.java:43)
at com.google.android.permission.gts.SplitPermissionsSystemTest.ensureReadExternalStorageIsSplit(SplitPermissionsSystemTest.java:55)
解决方案
需要合入Google Mandatory Patch:
Q0.MP1:ALPS04893544
Google Security patch:ALPS04881246
如需快速验证,可以访问:
https://support.google.com/androidpartners_gms/answer/9615700?hl=en&ref_topic=9136516
合入这笔Google Mandatory Patch:
Patches in partner gerrit