Skip to content

Commit ed495ab

Browse files
committed
Fix --key-store-path path
See #1086
1 parent 7587f3a commit ed495ab

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/common

Submodule common updated 1 file

lib/services/android-project-service.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ export class AndroidProjectService extends projectServiceBaseLib.PlatformProject
212212

213213
if(this.$options.release) {
214214
buildOptions.push("-Prelease");
215-
buildOptions.push(`-PksPath=${this.$options.keyStorePath}`);
215+
buildOptions.push(`-PksPath=${path.resolve(this.$options.keyStorePath)}`);
216216
buildOptions.push(`-Palias=${this.$options.keyStoreAlias}`);
217217
buildOptions.push(`-Ppassword=${this.$options.keyStoreAliasPassword}`);
218218
buildOptions.push(`-PksPassword=${this.$options.keyStorePassword}`);
@@ -361,7 +361,7 @@ export class AndroidProjectService extends projectServiceBaseLib.PlatformProject
361361
let args = [configuration, "-f", path.join(projectRoot, "build.xml")];
362362
if(configuration === "release") {
363363
if(this.$options.keyStorePath) {
364-
args = args.concat(["-Dkey.store", this.$options.keyStorePath]);
364+
args = args.concat(["-Dkey.store", path.resolve(this.$options.keyStorePath)]);
365365
}
366366

367367
if(this.$options.keyStorePassword) {

0 commit comments

Comments
 (0)