0

I am trying to run the Android Compatibility tests on my rooted phone. Are the tests supposed to work on rooted phones? For me, the tests ran on a non-rooted phone successfully, but not on rooted phone. Did anyone notice the same thing?

4

1 回答 1

0

一些测试会检查手机是否已root,

如果您的手机已植根,这些测试将失败。

例如,如果您的手机已root

test android.security.cts.BannedFilesTest # testNoSuInPath会失败,

错误消息是:

junit.framework.AssertionFailedError: /system/xbin/su exists
于 2015-10-21T07:24:10.253 回答