cts fail:com.android.cts.aadb.TestDeviceFuncTest
来源:互联网 发布:抽奖用什么软件 编辑:程序博客网 时间:2024/05/27 00:51
cts fail:com.android.cts.aadb.TestDeviceFuncTest
– testSyncFiles_extStorageVariable
– testSyncFiles_normal
junit.framework.AssertionFailedError at junit.framework.Assert.fail(Assert.java:48) at junit.framework.Assert.assertTrue(Assert.java:20) at junit.framework.Assert.assertTrue(Assert.java:27) at com.android.cts.aadb.TestDeviceFuncTest.doTestSyncFiles(TestDeviceFuncTest.java:308) at com.android.cts.aadb.TestDeviceFuncTest.testSyncFiles_extStorageVariable(TestDeviceFuncTest.java:250) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at junit.framework.TestCase.runTest(TestCase.java:168) at junit.framework.TestCase.runBare(TestCase.java:134) at com.android.tradefed.testtype.DeviceTestResult$1.protect(DeviceTestResult.java:81) at com.android.tradefed.testtype.DeviceTestResult.runProtected(DeviceTestResult.java:56) at com.android.tradefed.testtype.DeviceTestResult.run(DeviceTestResult.java:85) at junit.framework.TestCase.run(TestCase.java:124) at com.android.tradefed.testtype.DeviceTestCase.run(DeviceTestCase.java:117) at com.android.cts.tradefed.testtype.JarHostTest$TestRunnable.run(JarHostTest.java:248) at com.android.tradefed.util.RunUtil$RunnableNotifier.run(RunUtil.java:378)
报错分析:这两项和手机设置相关
操作步骤:
1:设置手机和电脑时间一致(如果没办法保持一致,那么时间要比当前电脑时间早,一定不能比电脑日期晚。时间也包括日期)
2:手机setting设置-Date&time-关闭Automatic date & time和Automatic time zone
3:设置电脑时区为北京时区,手机时区为london,然后复测
阅读全文
0 0
- cts fail:com.android.cts.aadb.TestDeviceFuncTest
- com.android.cts.appsecurity.AppSecurityTests#testAppFailAccessPrivateData fail
- CTS Fail: android.hardware.cts.CameraTest-- testJpegExif
- cts android.bluetooth.cts.BluetoothLeScanTest --testBasicBleScan fail
- com.android.cts.appsecurity.PermissionsHostTest等相关测项fail
- Android.animation cts fail(1)
- Android.animation cts fail(2)
- Android.animation cts fail(3)
- android CTS ----- android.net.cts.ConnectivityManagerTest测试fail
- android CTS-- android.os.cts.BuildVersionTest#testBuildFingerprint fail
- 关于CTS中android.permission.cts.DebuggableTest# testNoDebuggable Fail
- cts android.hardware.camera2.cts.RecordingTest --testBasicRecording fail
- mt6735 CTS Fail: android.app.cts.SystemFeaturesTest#testCame raFeatures
- android CTS测试FAIL项解决集锦
- Android 4.4.3 -CTS IPv6回环测试失败 [CTS]android.net.ipv6.cts.PingTest - testLoopbackPing - fail
- CTS fail分析
- CTS fail处理
- CTS fail 问题总结
- tablayout+viewpager联动
- SAE+web.py+python 微信公众号开发
- 剑指offer-斐波那契数列
- yuv格式播放
- 中小学领域计算机科学教育应该学什么?
- cts fail:com.android.cts.aadb.TestDeviceFuncTest
- 两个表之前的列操作
- PB FileCopy和CopyFile的区别。
- java实现二叉树常见遍历算法
- Linux驱动中的 wait_event_interruptible 与 wake_up_interruptible 深度理解
- Spring Boot应用的健康监控
- APUE第九章笔记
- tablayout_viewpager
- 前景提取、去除背景(selectROI+Grabcut)