Fix Get-AndroidGoogleAPIsVersions function output (#3715)

* The current condition retrieves a system image android 27 for win16
This commit is contained in:
Mikhail Timofeev
2021-07-13 09:32:41 +03:00
committed by GitHub
parent cfffe35709
commit 7149c03bd2

View File

@@ -150,7 +150,7 @@ function Get-AndroidGoogleAPIsVersions {
[object] $PackageInfo
)
$versions = $packageInfo | Where-Object { $_ -Match "Google APIs" } | ForEach-Object {
$versions = $packageInfo | Where-Object { $_ -Match "addon-google_apis" } | ForEach-Object {
$packageInfoParts = Split-TableRowByColumns $_
return $packageInfoParts[0].split(";")[1]
}