From fe7056cb712013202d60fbf53094e10373780de1 Mon Sep 17 00:00:00 2001 From: Luca Caprini Date: Fri, 4 May 2018 12:12:35 +0200 Subject: [PATCH] FIX old android release path --- libs/android.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libs/android.js b/libs/android.js index a7d42bf..eb2fffc 100644 --- a/libs/android.js +++ b/libs/android.js @@ -64,7 +64,11 @@ class Android { if (fs.existsSync(releasePath)) { return releasePath; } - // Test for previuos folder structure + // Test for previuoses folders structure + releasePath = path.join(projectPath, './build/outputs/apk/release'); + if (fs.existsSync(releasePath)) { + return releasePath; + } releasePath = path.join(projectPath, './build/outputs/apk'); if (fs.existsSync(releasePath)) { return releasePath;