mt6735 android.admin.cts.DeviceAdminActi vationTest#testActivateGoodReceiverD...
时间:10-02
整理:3721RD
点击:
android.admin.cts.Device Admin Activation Test#test Activate Good Receiver Displays ActivationUi
[ANDROID VERSION]
Android: 4.4 KK
[CTS Version]
CTS: 4.4R1
[DESCRIPTION]
android.admin.cts.DeviceAdminActivationTest-- testActivateGoodReceiverDisplaysActivationUi fail junit.php?mod=tag&id=6090" target="_blank" class="relatedlink">Framework.AssertionFailedError at
android.admin.cts.DeviceAdminActivationTest.assertDeviceAdminDeactivated(DeviceAdminActivationTest.java:170)
[Solution]
google 官网上有介绍
不要将setting中的三项都勾选上,请按照Google提供的测试方式测试, 不要勾选第三项。
http://source.android.com/compatibility/cts-intro.html
For CTS 2.3 R4 and beyond, set up your device to run the device administration tests:
adb install -r android-cts/repository/testcases/CtsDeviceAdmin.apk
On the device, enable the two
android.deviceadmin.cts.CtsDeviceAdminReceiver* device administrators under Settings > security > Select device administrators
Note: Make sure the
android.deviceadmin.cts.CtsDeviceAdminDeactivatedReceiver stays disabled in the same menu.
[ANDROID VERSION]
Android: 4.4 KK
[CTS Version]
CTS: 4.4R1
[DESCRIPTION]
android.admin.cts.DeviceAdminActivationTest-- testActivateGoodReceiverDisplaysActivationUi fail junit.php?mod=tag&id=6090" target="_blank" class="relatedlink">Framework.AssertionFailedError at
android.admin.cts.DeviceAdminActivationTest.assertDeviceAdminDeactivated(DeviceAdminActivationTest.java:170)
[Solution]
google 官网上有介绍
不要将setting中的三项都勾选上,请按照Google提供的测试方式测试, 不要勾选第三项。
http://source.android.com/compatibility/cts-intro.html
For CTS 2.3 R4 and beyond, set up your device to run the device administration tests:
adb install -r android-cts/repository/testcases/CtsDeviceAdmin.apk
On the device, enable the two
android.deviceadmin.cts.CtsDeviceAdminReceiver* device administrators under Settings > security > Select device administrators
Note: Make sure the
android.deviceadmin.cts.CtsDeviceAdminDeactivatedReceiver stays disabled in the same menu.