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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则