cts_gts认证一些fail项解决办法

本文主要探讨了在进行Android cts_gts认证过程中遇到的一些常见失败项,并提供了详细的解决办法,帮助开发者顺利通过认证。
摘要由CSDN通过智能技术生成

承接上一篇: http://blog.csdn.net/xxm282828/article/details/48289391

com.android.cts.aadb.TestDeviceFuncTest


2
android.app.cts.SystemFeaturesTest
testSensorFeatrues

-- testCameraFeatures
--testSensorFeatures
关于上面的2项,在device.mk中添加:
$(FRAMEWORK_ETC_PATH)/android.hardware. camera.autofo cus.xml:$(PERMISSIONS_PATH)/android.hardware.camera.autofocus.xml \
后,--testCameraFeatures  这一项通过了。

-- testSensorFeatures 这一项去掉的内容比较多,
去掉
android.hardware.sensor.accelerometer.xml
android.hardware.se nsor.gyroscope.xml
android.hardware.sensor.light.xml
android.hardware.sensor.proximi ty.xml
也去掉了 
./tablet_core_hardware.xml:29:    <feature name="android.hardware.sensor.compass" />
./android.hardware.sensor.compass.xml:19:     <feature name="android.hardware.sensor.compass" /> 
./handheld_core_hardware.xml:30:    <feature name="android.hardware.se nsor.compass" />
这里面的内容,才通过。

关于testSensorFeatures,请去掉anzhen4_mrd7_w/device.mk中的
$(FRAMEWORK_ETC_PATH)/android.hardware.sensor.compass.xml:$(PERMISSIONS_PATH)/android.hardware.sensor.compass.xml


3
libcore.java.net.ConcurrentCloseTest

解决: 连接VPN,测试通过

4
android.net.cts.DnsTest
-- testDnsWorks
评论 6
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值