Skip to content

Commit b7c7278

Browse files
authored
fix: android-31 target version (#71)
* chore: add android-31 to supported targets * test: update test
1 parent 3e96ec1 commit b7c7278

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

lib/android-tools-info.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ export class AndroidToolsInfo implements NativeScriptDoctor.IAndroidToolsInfo {
2626
"android-27",
2727
"android-28",
2828
"android-29",
29-
"android-30"
29+
"android-30",
30+
"android-31",
3031
];
3132

3233
if (runtimeVersion && semver.lt(semver.coerce(runtimeVersion), "6.1.0")) {

test/android-tools-info.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@ describe("androidToolsInfo", () => {
7979
});
8080

8181
describe("supportedAndroidSdks", () => {
82-
it("should support android-17 - android-30", () => {
82+
it("should support android-17 - android-31", () => {
8383
const min = 17;
84-
const max = 30;
84+
const max = 31;
8585
let cnt = 0;
8686
const androidToolsInfo = getAndroidToolsInfo("6.5.0");
8787
const supportedTargets = androidToolsInfo.getSupportedTargets("test");

0 commit comments

Comments
 (0)