You should definitely post more information about your problem. Please see Creating a Good Question for more information.

I found the same line when searching for your issue. Could it be that your app isn’t called “TestApp” and because of that it tries to copy results from a folder that doesn’t even exist?

# copy the test results to the test results directory.
- cp -r /home/ubuntu/TestApp/app/build/outputs/androidTest-results/* $CIRCLE_TEST_REPORT

I guess you wouldn’t even need the whole path and a relative path would last as well:

- cp -r app/build/outputs/androidTest-results/* $CIRCLE_TEST_REPORT

Or something like this…?

- cp -r $HOME/$CIRCLE_PROJECT_REPONAME/app/build/outputs/androidTest-results/* $CIRCLE_TEST_REPORT
1 Like