Device Pool - how to exclude 32 bit devices on Android

0

I have a pool definition for Android phones and I am getting Moto G7 Play devices moderately frequently of late and our app requires 64 bit devices and so fails to install. Need advice on how to avoid 32 bit devices.

已提問 3 年前檢視次數 229 次
1 個回答
0
已接受的答案

Hi there,
Thank you for reaching out. Try creating a new device pool or updating your old one from the command line as follows:

[code]
$ aws --profile MY_PROFILE_NAME devicefarm create-device-pool --name "MY_POOL_NAME" --project-arn "arn:aws:devicefarm:us-west-2:MY_ACCOUNT_ID:project:MY_PROJECT_ID" --rules '[
{
"attribute": "FLEET_TYPE",
"operator": "EQUALS",
"value": ""PUBLIC""
},
...
MY_RULES_GO_HERE
...
{
"attribute": "MODEL",
"operator": "NOT_IN",
"value": "["Moto G7 Play"]"
}
]'

[/code]

For some reason, the forums are replacing my single-quotes with " &#39 ", but the idea is there. Let me know your thoughts.

Thanks,
Jon

Edited by: JonS-AWS on May 6, 2021 9:09 PM

AWS
已回答 3 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南