@@ -7,6 +7,7 @@ import * as constants from "../constants";
7
7
import * as semver from "semver" ;
8
8
import * as projectServiceBaseLib from "./platform-project-service-base" ;
9
9
import * as androidDebugBridgePath from "../common/mobile/android/android-debug-bridge" ;
10
+ import { quoteString } from "../common/helpers" ;
10
11
11
12
export class AndroidProjectService extends projectServiceBaseLib . PlatformProjectServiceBase implements IPlatformProjectService {
12
13
private static VALUES_DIRNAME = "values" ;
@@ -212,7 +213,8 @@ export class AndroidProjectService extends projectServiceBaseLib.PlatformProject
212
213
213
214
if ( this . $options . release ) {
214
215
buildOptions . push ( "-Prelease" ) ;
215
- buildOptions . push ( `-PksPath=${ this . $options . keyStorePath } ` ) ;
216
+ console . log ( process . cwd ( ) ) ;
217
+ buildOptions . push ( `-PksPath=${ path . resolve ( this . $options . keyStorePath ) } ` ) ;
216
218
buildOptions . push ( `-Palias=${ this . $options . keyStoreAlias } ` ) ;
217
219
buildOptions . push ( `-Ppassword=${ this . $options . keyStoreAliasPassword } ` ) ;
218
220
buildOptions . push ( `-PksPassword=${ this . $options . keyStorePassword } ` ) ;
@@ -361,7 +363,7 @@ export class AndroidProjectService extends projectServiceBaseLib.PlatformProject
361
363
let args = [ configuration , "-f" , path . join ( projectRoot , "build.xml" ) ] ;
362
364
if ( configuration === "release" ) {
363
365
if ( this . $options . keyStorePath ) {
364
- args = args . concat ( [ "-Dkey.store" , this . $options . keyStorePath ] ) ;
366
+ args = args . concat ( [ "-Dkey.store" , path . resolve ( this . $options . keyStorePath ) ] ) ;
365
367
}
366
368
367
369
if ( this . $options . keyStorePassword ) {
0 commit comments