当前位置:网站首页>cts测试步骤(卡西欧cts200测试)
cts测试步骤(卡西欧cts200测试)
2022-07-25 20:52:00 【全栈程序员站长】
大家好,又见面了,我是你们的朋友全栈君。
也欢迎大家转载本篇文章。分享知识,造福人民,实现我们中华民族伟大复兴!
1. 准备一台 ubuntu linux(比较简单,很容易在网上下载到,安装也很简单)
2. 安装 linux 版本的 android SDK (在安装sdk之前要先安装eclipse 和jdk1.6,安装过程参考网址:
http://www.linuxidc.com/Linux/2010-06/26796.htm;不然后面执行./androidsdk的时候可能会出错
)
a) 下载:http://dl.google.com/android/android-sdk_r20-linux.tgz
安装: 解压download 下来的档案后,进如到 tools 文件夹,执行 ./ android sdk 命令, 这时,会打开 android SDK manager, 在对话框里勾选,tools 以及API15, 然后安装它
2. 安装 adb USB 驱动
a) Log in as root and create this file: /etc/udev/rules.d/51-android.rules.
b) 增加一行: SUBSYSTEM=="usb",ATTR{idVendor}=="18d1 ", MODE="0666",GROUP="plugdev"
c) chmod a+r /etc/udev/rules.d/51-android.rules
3. 至此,usb 可以用了, 用usb 线连接板子和linux机器, 再执行个 adb devices 试试看,有没有识别的
(如果显示的是乱码,执行
adbkill-server
sudo –s
adb devices)
4. 下载 CTShttps://dl.google.com/dl/android/cts/android-cts-4.0.3_r3-linux_x86-arm.zip 解压后,得到android-cts, 以后所有有关 cts 的执行命令以及执行结果都在这个目录下。
5. 下载 media https://dl.google.com/dl/android/cts/android-cts-media-1.0.zip解压后,
得到 android-cts-media, 在确保adb 以及联通的情况下,把U盘插上板子上,然后,
进入到 android-cts-media 目录, 由于我们ics要求 1920×1080 的resolution, 所以,
执行下面两步,以copy 相应的media档到 U 盘上 (注意,测试media 相关功能的时候,
media 档是必须的,一定要一直插着U盘在板子上)。
adb pushbbb_short/1920×1080 /mnt/sdcard/test/bbb_short/1920×1080
adb pushbbb_full/1920×1080 /mnt/sdcard/test/bbb_full/1920×1080
6. 下载 jdk 1.6, 放到某个位置后,在 .bashrc 里添加 JAVA_HOME 变量, 例如:
exportJAVA_HOME=/usr/local/share/jdk1.6.0_33 ,如果要立即生效,请执行 source .bashrc
—————————–
7. 至此,已经具备跑 cts 的条件啦!
8. cd到你android-cts 的路径
9. 再进入 tools 目录
10. 执行./cts-tradefed
11. 这时, 如果上面的设置,包括jdk1.6 等正确的话,CTS 已经正常启动, 等待我们进行具体的测试
12. 一边情况下,如果要完整的跑所有的 CTS 的话, 执行 run cts –plan CTS (这个相当耗时,通常大家不需要这样做)
13. 如果只是为了跑某一个package, 比如说,在android.media 报出来的issue, 现在要复制,那么可以执行 run cts –p android.media 就能够单独执行 android.media 相关的test case. CTS的组织结构,每个test case 都会被归类到某个package 下, 所以,大家都可以这样的方式去复制自己的问题。
14. 运行结束后,会提示把result 写到android-cts/repository/results 下的某个目录里, 那个xml 文件就是report.
发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/127684.html原文链接:https://javaforall.cn
边栏推荐
- 【FiddlerTX插件】使用Fiddler抓包腾讯课堂视频下载(抓不到包解决方案)
- 基于腾讯地图实现精准定位,实现微信小程序考勤打卡功能
- [workplace rules] it workplace rules | poor performance
- Basic knowledge of Marine Geology
- Niuke-top101-bm38
- When MySQL resets the root password and modifies the password, an error occurs. The password field does not exist
- 476-82(322、64、2、46、62、114)
- Leetcode-6125: equal row and column pairs
- [matlab] download originality documents based on oil monkey script and MATLAB
- Card link
猜你喜欢

ROS_ Rqt toolbox
What's special about Huawei's innovative solutions to consolidate the foundation of ERP for small and medium-sized enterprises?

Kubernetes advanced part learning notes
![[paper reading] unpaired image to image translation using cycle consistent advantageous networks](/img/73/69651dd8ecfdddd1cae13a1d223d51.png)
[paper reading] unpaired image to image translation using cycle consistent advantageous networks

两数,三数之和

Leetcode skimming -- guess the size of numbers II 375 medium

The database empties the table data and makes the primary key start from 1

The onnx model is exported as a TRT model

LeetCode刷题——猜数字大小II#375#Medium

Illustration leetcode - 3. longest substring without repeated characters (difficulty: medium)
随机推荐
Struct, enum type and union
Behind every piece of information you collect, you can't live without TA
[workplace rules] it workplace rules | poor performance
What's special about Huawei's innovative solutions to consolidate the foundation of ERP for small and medium-sized enterprises?
When MySQL resets the root password and modifies the password, an error occurs. The password field does not exist
If the order is not paid for 30 minutes, it will be automatically cancelled. How to achieve this? (Collection Edition)
Key network protocols in tcp/ip four layer model
Focus on data | Haitai Fangyuan directly hits the construction idea of data security governance in the securities industry
[technical dry goods] how to ensure the idempotency of the interface?
Use Navicat to connect to MySQL database through SSH channel (pro test is feasible)
A detailed explanation of SCP command
Online random coin tossing positive and negative statistical tool
[online tutorial] iptables official tutorial -- learning notes 2
一道golang中关于recover的面试题
leetcode-114:二叉树展开为链表
MPI学习笔记(二):矩阵相乘的两种实现方法
KEGG通路的从属/注释信息如何获取
Step num problem
Wokerman custom write log file
103. (cesium chapter) cesium honeycomb diagram (square)