By using AWS re:Post, you agree to the Terms of Use

Questions tagged with AWS Device Farm

Sort by most recent

Browse through the questions and answers listed below or filter and sort to narrow down your results.

Expo build - APK upload fails when using aws-cli command, via GitHub Actions but works from terminal(local)

Command used in GitHub Actions to download APK from expo: latest_build=$(npx eas-cli build:list --status="finished" --distribution="store" --json | jq '[.[] | select(.releaseChannel=="development")][1].artifacts.buildUrl') Command used in GitHub Actions for create-upload and upload in device farm response_upload_app=$(aws devicefarm create-upload --project-arn $DEV_PROJECT_ARN --name latest_build.apk --type ANDROID_APP) curl -T latest_build.apk $url_upload_app Same command when run locally in terminal when the APK is available in a folder, works perfectly fine. Also, at times, when running in local terminal, it was giving request timeout error This is the error log in GitHub Actions in when running get-upload command for the corresponding create upload arn in device farm: "metadata": "{\"errorMessageUrl\":\"https://docs.aws.amazon.com/console/devicefarm/ANDROID_APP_AAPT_DEBUG_BADGING_FAILED\",\"errorMessage\":\"We could not extract information about your Android application package. Please verify that the application package is valid by running the command \\\"aapt debug badging <path to your test package>\\\", and try again after the command does not print any error.\",\"errorCode\":\"ANDROID_APP_AAPT_DEBUG_BADGING_FAILED\"} Debugging done so far: Ran this (aapt debug badging <path to apk>/latest_build.apk ) and was able to get package information correctly
0
answers
0
votes
37
views
asked 3 months ago

error: An unknown server-side error occurred while processing the command. Original error: Cannot start the 'com.XXX.staging' application

Hi all. i got this error while using aws device farm while try to run java appuim testng project: Unable to create a new remote session. Please check the server log for more details. Original error: An unknown server-side error occurred while processing the command. Original error: Cannot start the 'com.XXX.staging' application. Visit https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/android/activity-startup.md for troubleshooting. Original error: 'com.XXX.YYY.ui.activities.MainActivity' or 'com.XXX.staging.com.YYY.core.ui.activities.MainActivity' never started. Visit https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/android/activity-startup.md for troubleshooting Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03' System info: host: 'ip-111-11-11-11', ip: '111.11.11.61', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-139-generic', java.version: '1.8.0_151' Driver info: driver.version: AndroidDriver locally it's run well. i sent this caps for aws server: ------------- AppiumDriver driver; final String URL_STRING = "http://127.0.0.1:4723/wd/hub"; URL url1 = new URL(URL_STRING); --------------- DesiredCapabilities desiredCapabilities = new DesiredCapabilities(); driver = new AndroidDriver(url1, desiredCapabilities); please help, thanks head! Oron.
0
answers
0
votes
32
views
asked 4 months ago