- 博客(20)
- 收藏
- 关注
原创 gts-5.0_r1新工具
GTS5.0适用于O平台,不适用于N平台及N以下平台但目前得到GMS最新消息称,送测的软件必须同时通过GTS 5.0 beta的如下三条case。 run gts –include-filter GtsPackageNameCertPairsDeviceTestCases –include-filter GtsInstallPackagesWhitelistDeviceTestCases –inc
2017-08-25 17:50:26
1775
原创 android studio使用过程中遇到的问题
启动android studio AVD出现: PANIC: HOME is defined but could not find Nexus_4_API_22.ini file in $HOME/.android/avd (Note: avd is searched in the order of $ANDROID_AVD_HOME,$ANDROID_SDK_HOME/.android/avd
2017-03-02 16:48:33
1947
原创 android.media.cts.EncodeDecodeTest -- testVP8EncodeDecodeVideoFromPersistentSurfaceToSurfaceQCIF
android.media.cts.EncodeDecodeTest – testVP8EncodeDecodeVideoFromPersistentSurfaceToSurfaceQCIF failjunit.framework.AssertionFailedError: Found 29 bad frames at junit.framework.Assert.fail(Assert.jav
2017-01-19 16:06:22
1575
原创 android.cts.security.SELinuxNeverallowRulesTest --testNeverallowRulesXXX
android.cts.security.SELinuxNeverallowRulesTest –testNeverallowRulesXXX [DESCRIPTION]若有自行修改Sepolicy导致违反Google的Neverallow rule,CTS 将fail。比如: android.cts.security.SELinuxNeverallowRulesTest#testNevera
2017-01-19 14:50:35
3406
原创 android.cts.security.SELinuxNeverallowRulesTest#testNeverallowRules**
[DESCRIPTION]若有自行修改Sepolicy导致违反Google的Neverallow rule,CTS 将fail。比如:android.cts.security.SELinuxNeverallowRulesTest#testNeverallowRules110 FAILjunit.framework.AssertionFailedError: The following errors
2016-11-26 15:00:05
4068
原创 android.permission.cts.DebuggableTest -- testNoDebuggable
错误log: junit.framework.AssertionFailedError: Package xxx.xxx.xxx.xxx is marked as debuggable. at android.permission.cts.DebuggableTest.testNoDebuggable(DebuggableTest.java:38) 原因 : – Apk which con
2016-10-28 16:39:27
2197
原创 android.media.cts.CamcorderProfileTest -- testGetWithId
[DESCRIPTION] 使用不在SensorAvailable List中的YUV sensor 时,或者改动feature table 配置之后 CTS fail issue: Camera CTS通不过 testGeWithId(android.media.cts.CamcorderProfileTest) [ANALYSE] 从log中看,不支持352x288 的vide
2016-10-28 16:33:30
2776
原创 com.android.cts.devicepolicy.ManagedProfileTest -- testAppLinks
com.android.cts.devicepolicy.ManagedProfileTest – testAppLinksjunit.framework.AssertionFailedError at junit.framework.Assert.fail(Assert.java:48)10-11 11:56:14 I/BaseDevicePolicyTest: Test com.androi
2016-10-13 16:50:50
2602
原创 常用网址
android studio下载网址:http://www.android-studio.org/ 优快云 : http://www.youkuaiyun.com/?ref=toolbarGitHub : https://github.com/极课学院: http://wiki.jikexueyuan.com/list/android/git 中国码云: https://git.oschina.net/lo
2016-09-14 11:57:01
641
原创 com.google.android.xts.location.LocationHostTest--testSetting fail
com.google.android.xts.location.LocationHostTest –testSetting failjunit.framework.AssertionFailedError: com.google.android.xts.location.InjectedSettingTestCase.testSetting failed.at junit.framework.A
2016-09-14 11:52:27
1669
原创 com.android.cts.appsecurity.AppSecurityTests#testAppFailAccessPrivateData fail
com.android.cts.appsecurity.AppSecurityTests –testAppFailAccessPrivateData failjava.lang.AssertionError: on-device tests failed:com.android.cts.appaccessdata.AccessPrivateDataTest#testAccessPrivateDa
2016-09-14 11:46:43
3372
原创 com.google.android.xts.devicepolicy.DeviceOwnerTest--testUserManagement fail
com.google.android.xts.devicepolicy.DeviceOwnerTest–testUserManagement failDear Customer, 如果支持多用户的,请参照如下修改.此问题我们没有patch.请自行修改再验证. 找到frameworks/base/services/core/java/com/android/server/am/ActivityMa
2016-09-14 11:26:47
1357
原创 testAllSystemAppsUsingRuntimePermissionsTargetMncAndAboveSdk
com.google.android.xts.permissions.InitialRuntimePermissionStateTest – testAllSystemAppsUsingRuntimePermissionsTargetMncAndAboveSdk 日志信息如下:junit.framework.AssertionFailedError: testAllSystemAppsUsing
2016-08-13 14:39:02
2632
原创 cts 测试中需要前置条件才能pass的fail项解决方案
com.android.cts.browser.BrowserBenchTest – testOctane fail 原因:如果你的手机有两个浏览器,且没有设置默认的浏览器,在测试过程中会有选择,所以fail 解决方案:在测试的过程中手动选择即可。org.apache.harmony.tests.java.net.InetAddressTest –test_isRea
2016-07-29 16:30:21
3992
原创 gtx com.google.android.xts.permissions.DefaultPermissionGrantPolicyTest -- testDefaultGrants fail
com.google.android.xts.permissions.DefaultPermissionGrantPolicyTest – testDefaultGrants 在xtsTestResult.xml文件中查看result=“fail”项会报一些权限的问题 junit.framework.AssertionFailedError: Permission:android.permis
2016-07-29 16:00:24
5318
原创 cts android.bluetooth.cts.BluetoothLeScanTest --testBasicBleScan fail
cts测试时出现这个fail项,可以在另一台机器上安装TxEddystone-UID-release-1.0.0.apk这个应用后打开就可以pass 我的百度云盘地址:http://pan.baidu.com/s/1miEoLqo
2016-07-29 15:50:22
2784
3
原创 cts android.hardware.camera2.cts.RecordingTest --testBasicRecording fail
android.hardware.camera2.cts.RecordingTest – testBasicRecording fail junit.framework.AssertionFailedError: Frame rate range [20, 20] (for profile ID 2) must be one of the camera device available FPS
2016-07-29 15:34:44
4169
原创 CTS测试相关
最近刚接触CTS测试,总结了一些知识点,与大家分享。 第一章 CTS简介 谷歌CTS, 英文为Compatibility Test Suite,意思就是兼容性测试,Android手机设备需要通过google的兼容性测试,以确保在android上开发的程序在手机上都能很好的运行。如果想要使用Google服务必须要通过CTS测试谷歌GMS认证,当然国内是享受不到google服务的,平时我们测试的时候
2016-07-29 14:27:35
4605
原创 adb logcat 常用命令
logcat语法格式:adb logcat []… 如果你的电脑上连接多个设备可以通过adb -s adb -s 设备号 logcat 抓取指定设备的log 1. adb logcat –help查看logcat命令的帮助信息> 引用块内容qiaojiali@qiaojiali-pc:~$ adb logcat --helpUsage: logcat [options] [filt
2016-07-06 21:17:05
4628
2
原创 adb 命令
adb 全称是Android Debug Bridge ,是android sdk里的一个工具,此工具可以操作管理android模拟器和android真实设备,掌握adb一些命令可以快速开发我们的软件以下是adb一些常用的命令:1、adb start-server 开启adb服务 2、adb kill-server 终止adb服务 当手机连接不上adb时,可以先kill掉服务,然后再启动服务,最
2016-07-06 19:55:30
496
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人