android-cts-8.1_r3 execution is not starting

Q:

On starting, facing the below issue[followed all the precondition steps]

03-29 04:49:11 W/DynamicConfigPusher: Cannot download and parse json config from URL https://androidpartner.googleapis.com/v1/dynamicconfig/suites/CTS/modules/CtsMediaStressTestCases/version/8.1_r3?key=AIzaSyAbwX5JRlmsLeygY2WWihpIJPXFLueOQ3U 03-29 04:49:11 I/MediaPreparer: Instrumenting package android.mediastress.cts.preconditions.app: 03-29 04:49:17 I/MediaPreparer: Downloading media files from https://dl.google.com/dl/android/cts/android-cts-media-1.4.zip 03-29 05:01:42 E/ModuleDef: TargetSetupError in preparer: com.android.compatibility.common.tradefed.targetprep.MediaPreparer 03-29 05:01:42 E/ModuleDef: Precondition class com.android.compatibility.common.tradefed.targetprep.MediaPreparer failed 03-29 05:01:44 I/MediaPreparer: Instrumenting package android.mediastress.cts.preconditions.app: 03-29 05:01:50 I/MediaPreparer: Downloading media files from https://dl.google.com/dl/android/cts/android-cts-media-1.4.zip

This is happening continuously. No test case run

A:

I think it would require you to download and install android-cts-media-1.4.zip and install it to your Android hardware in order to proceed the mediastress test cases:
  • Go on that page https://source.android.com/compatibility/cts/downloads ; scroll down to the bottom of the page, download the media 1.4 package.
  • Unzip and go to the android-cts-media-1.4. Then try bellow command on terminal./copy_media.sh [your_resolution_param_here]

The resolution param is not required, if you don't put it it will add all the media file in, thus may potentially lead to some failure test cases. But you should probably check again what's your maximum media resolutions allowance via CDD document for your particular Android version. Here are the list of storage options to be brief:

  • 480x360: 98MB
  • 720x480: 193MB
  • 1280x720: 606MB
  • 1920x1080: 1863MB

作者: RESSRC

个人资源站

发表评论

邮箱地址不会被公开。 必填项已用*标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据