diff --git a/bin/templates/cordova/lib/build.js b/bin/templates/cordova/lib/build.js index ae154fcc..1794f93e 100644 --- a/bin/templates/cordova/lib/build.js +++ b/bin/templates/cordova/lib/build.js @@ -74,7 +74,7 @@ function findOutputApksHelper(dir, build_type, arch) { return /-debug/.exec(candidate) && !/-unaligned|-unsigned/.exec(candidate); } if (build_type === 'release') { - return /-release/.exec(candidate) && !/-unaligned/.exec(candidate); + return /-release/.exec(candidate) && !/-unaligned|-unsigned/.exec(candidate); } return true; });