Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ルート化された電話で Android 互換性テストを実行しようとしています。テストはルート化された電話で動作するはずですか? 私の場合、ルート化されていない電話ではテストが正常に実行されましたが、ルート化された電話では実行されませんでした。同じことに気づいた人いますか?
一部のテストでは、電話がルート化されているかどうかを確認します。
電話がルート化されている場合、これらのテストは失敗します。
たとえば、電話がルート化されている場合
test android.security.cts.BannedFilesTest # testNoSuInPathは失敗します。
エラーメッセージは次のようになります。
junit.framework.AssertionFailedError: /system/xbin/su exists