Reputation: 97
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
Upvotes: 0
Views: 1553
Reputation: 1
Copy a android-cts-media-1.4.zip to /tmp/android-cts-media/ will fix the issue
Upvotes: 0
Reputation: 423
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:
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:
Upvotes: 0