在Android 8.1

时间:2017-12-14 06:55:48

标签: android android-source android-8.1-oreo

我正在尝试按照Google提供的VTS手册在我的手机Pixel上试验VTS。它一直显示错误:

E/VtsVendorConfigFileUtil: Vendor test config file /config/vts-tradefed-vendor-config-prod.json does not exist

我试图在分支主机和分支m / android-8.1.0_r1上构建,两者都失败了。我的手机有Android 8.1.1版本。

有没有人有任何想法解决这个问题?

2 个答案:

答案 0 :(得分:3)

我的一位同事报告了同样的错误。我注意到在构建了vts目标后,可以在此处找到此配置文件:

${ANDROID_BUILD_TOP}/vendor/google_vts/harnesses/tradefed/res/config/vts-tradefed-vendor-config-prod.json

尝试将其复制到您执行vts测试的目录

答案 1 :(得分:0)

请尝试使用最新版本。最有可能在最新的VTS版本中没有出现这个问题。