Skip to content

Commit 0872ba7

Browse files
feat: allow using android-28 SDK for building apps:
1 parent 4d502a9 commit 0872ba7

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

lib/android-tools-info.ts

+13-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,19 @@ import * as path from "path";
99

1010
export class AndroidToolsInfo implements NativeScriptDoctor.IAndroidToolsInfo {
1111
private static ANDROID_TARGET_PREFIX = "android";
12-
private static SUPPORTED_TARGETS = ["android-17", "android-18", "android-19", "android-21", "android-22", "android-23", "android-24", "android-25", "android-26", "android-27"];
12+
private static SUPPORTED_TARGETS = [
13+
"android-17",
14+
"android-18",
15+
"android-19",
16+
"android-21",
17+
"android-22",
18+
"android-23",
19+
"android-24",
20+
"android-25",
21+
"android-26",
22+
"android-27",
23+
"android-28",
24+
];
1325
private static MIN_REQUIRED_COMPILE_TARGET = 22;
1426
private static REQUIRED_BUILD_TOOLS_RANGE_PREFIX = ">=23";
1527
private static VERSION_REGEX = /((\d+\.){2}\d+)/;

0 commit comments

Comments
 (0)