Skip to content
This repository has been archived by the owner on Feb 2, 2021. It is now read-only.

Support Google API images in Android Emulator. #268

Merged
merged 1 commit into from
Apr 6, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion mobile/android/android-emulator-services.ts
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,11 @@ class AndroidEmulatorServices implements Mobile.IEmulatorPlatformServices {
var platform = target.replace('android-', '');
var platformNumber = +platform;
if (isNaN(platformNumber)) {
if (platform === "L") {
// this might be a google image
platform = target.split(":")[2];
if (platform) {
platformNumber = +platform;
} else if (platform === "L") { // Android SDK 20 was actually marked with the letter L
platformNumber = 20;
}
}
Expand Down