how to choose the correct version of android CTS

爱⌒轻易说出口 提交于 2019-12-11 04:32:37

问题


i work for a phone vendor, our phone was based on Android 2.3.4_r1 GRJ22 , but when i ran the CTS , the OsVersionTest fails for the reason of not supporting 2.3.4 in test case.

how to choose the version of CTS?


回答1:


Probably way too late for what you need (I only really started serious use of CTS recently), but figured I give what bit of an answer I had anyway.

As I understand it (and I could be wrong), you can download CTS for a bunch of versions of Android at http://source.android.com/compatibility/downloads.html I would think that the 2.3 build should work for you as I don't think minor versions prevent it from running (and that seems true in my tests).

From 4.0 on, CTS is in the Android Open Source code so you can build it yourself although I've had issues there (see https://stackoverflow.com/questions/10400938/building-working-cts-for-user-build for example) and since you are on 2.3 you can't build it anyway.



来源:https://stackoverflow.com/questions/7225788/how-to-choose-the-correct-version-of-android-cts

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!