Skip to content

Commit 91657ea

Browse files
author
Mihail Slavchev
authored
check for Android build tools >=25.0.2 (#2407)
1 parent b514eae commit 91657ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/android-tools-info.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export class AndroidToolsInfo implements IAndroidToolsInfo {
66
private static ANDROID_TARGET_PREFIX = "android";
77
private static SUPPORTED_TARGETS = ["android-17", "android-18", "android-19", "android-21", "android-22", "android-23", "android-24", "android-25"];
88
private static MIN_REQUIRED_COMPILE_TARGET = 22;
9-
private static REQUIRED_BUILD_TOOLS_RANGE_PREFIX = ">=23";
9+
private static REQUIRED_BUILD_TOOLS_RANGE_PREFIX = ">=25.0.2";
1010
private static VERSION_REGEX = /((\d+\.){2}\d+)/;
1111
private static MIN_JAVA_VERSION = "1.8.0";
1212

@@ -286,7 +286,7 @@ export class AndroidToolsInfo implements IAndroidToolsInfo {
286286
}
287287

288288
private getBuildToolsRange(): string {
289-
return `${AndroidToolsInfo.REQUIRED_BUILD_TOOLS_RANGE_PREFIX} <=${this.getMaxSupportedVersion()}`;
289+
return `${AndroidToolsInfo.REQUIRED_BUILD_TOOLS_RANGE_PREFIX}`;
290290
}
291291

292292
private getBuildToolsVersion(): IFuture<string> {

0 commit comments

Comments
 (0)