我正在使用VSTS进行Xamarin Android版本。
在签名步骤中,无法找到.keystore文件的位置。
我将它保存在项目目录中.. //App.Droid/Development.keystore
VSTS中的文件路径:$(Build.SourcesDirectory)\ Development.keystore
错误日志:
2016-06-06T18:45:56.1574541Z将workingFolder设置为默认值: C:\ LR \ MMS \服务\彩信\ TaskAgentProvisioner \工具\剂\ 1.100.1 \任务\ AndroidSigning \ 1.0.19
2016-06-06T18:45:56.3474351Z ## [debug] agent.workFolder = C:\ a
2016-06-06T18:45:56.3504349Z ## [debug]加载输入和端点
2016-06-06T18:45:56.3514351Z ## [debug] loading ENDPOINT_AUTH_HTTPS://GITHUB.COM/的 / 的.git
2016-06-06T18:45:56.3514351Z ## [debug] loading ENDPOINT_AUTH_SYSTEMVSSCONNECTION
2016-06-06T18:45:56.3524350Z ## [debug] loading INPUT_FILES
2016-06-06T18:45:56.3524350Z ## [debug] loading INPUT_JARSIGN
2016-06-06T18:45:56.3534345Z ## [debug] loading INPUT_KEYPASS
2016-06-06T18:45:56.3534345Z ## [debug] loading INPUT_KEYSTOREALIAS
2016-06-06T18:45:56.3534345Z ## [debug] loading INPUT_KEYSTOREFILE
2016-06-06T18:45:56.3544350Z ## [debug] loading INPUT_KEYSTOREPASS
2016-06-06T18:45:56.3544350Z ## [debug] loading INPUT_ZIPALIGN
2016-06-06T18:45:56.3544350Z ## [debug] loaded 9
2016-06-06T18:45:56.3554349Z ## [debug] files = C:\ a \ 1 \ b \ Release * .apk
2016-06-06T18:45:56.3554349Z ## [debug] filesPattern: C:\一个\ 1 \ B \推出*的apk
2016-06-06T18:45:56.3554349Z ## [debug] jarsign = true
2016-06-06T18:45:56.3564350Z ## [debug] jarsign:true
2016-06-06T18:45:56.3564350Z ## [debug] zipalign = true
2016-06-06T18:45:56.3564350Z ## [debug] zipalign:true
2016-06-06T18:45:56.3574349Z ## [debug]匹配glob模式: C:\一个\ 1 \ B \推出*的apk
2016-06-06T18:45:56.3574349Z ## [debug]第一个通配符的索引:17
2016-06-06T18:45:56.3574349Z ## [debug] find root dir:C:\ a \ 1 \ b
2016-06-06T18:45:56.3644336Z ## [debug] find C:\ a \ 1 \ b
2016-06-06T18:45:56.3644336Z ## [debug] 87匹配。
2016-06-06T18:45:56.3714333Z ## [debug]进程 C:/a/1/b/Release/com.Myapp.apk
2016-06-06T18:45:56.3724335Z ## [debug]检查路径: C:/a/1/b/Release/com.Myapp.apk
2016-06-06T18:45:56.3724335Z
[调试] JAVA_HOME = C:\ java的\ JDK \ jdk1.8.0_25
2016-06-06T18:45:56.3734336Z
[调试] keystoreFile = C:\一个\ 1 \ S \ Development.keystore
2016-06-06T18:45:56.3734336Z ## [debug] keystoreAlias =开发
2016-06-06T18:45:56.3734336Z ## [debug] keystorePass = 密码
2016-06-06T18:45:56.3744327Z ## [debug] keyPass = 密码
2016-06-06T18:45:56.3744327Z ## [debug] jarsignerArguments = null
2016-06-06T18:45:56.3744327Z
[debug] C:\ java \ jdk \ jdk1.8.0_25 \ bin \ jarsigner arg:[" -keystore"," C:\ a \ 1 \ s \ Development.keystore& #34;]
2016-06-06T18:45:56.3754328Z
[debug] C:\ java \ jdk \ jdk1.8.0_25 \ bin \ jarsigner arg:[" -storepass"," 密码" ]
2016-06-06T18:45:56.3754328Z
[debug] C:\ java \ jdk \ jdk1.8.0_25 \ bin \ jarsigner arg:[" -keypass"," 密码" ]
2016-06-06T18:45:56.3754328Z
[debug] C:\ java \ jdk \ jdk1.8.0_25 \ bin \ jarsigner arg:[" -signedjar"," C:/ a / 1 / b / Release / com .Myapp.apk"" C:/a/1/b/Release/com.Myapp.apk.unsigned","开发"]
2016-06-06T18:45:56.3764331Z ## [debug] exec工具: C:\ java的\ JDK \ jdk1.8.0_25 \ BIN \的jarsigner
2016-06-06T18:45:56.3764331Z ## [debug]参数:
2016-06-06T18:45:56.3764331Z ## [debug] -keystore
2016-06-06T18:45:56.3774411Z ## [debug] C:\ a \ 1 \ s \ Development.keystore
2016-06-06T18:45:56.3774411Z ## [debug] -storepass
2016-06-06T18:45:56.3774411Z ## [debug] 密码
2016-06-06T18:45:56.3784330Z ## [debug] -keypass
2016-06-06T18:45:56.3784330Z ## [debug] 密码
2016-06-06T18:45:56.3784330Z ## [debug] -signedjar
2016-06-06T18:45:56.3794328Z ## [debug]
C:/a/1/b/Release/com.Myapp.apk2016-06-06T18:45:56.3794328Z ## [debug]
C:/a/1/b/Release/com.Myapp.apk.unsigned2016-06-06T18:45:56.3794328Z ## [debug]开发
2016-06-06T18:45:56.3804345Z [command] C:\ java \ jdk \ jdk1.8.0_25 \ bin \ jarsigner -keystore C:\ a \ 1 \ s \ Development.keystore -storepass 密码 -keypass 密码 -signedjar C:/a/1/b/Release/com.Myapp.apk C:/a/1/b/Release/com.Myapp.apk.unsigned Development
2016-06-06T18:45:58.7576316Z jarsigner错误: java.lang.RuntimeException:keystore load: C:\ a \ 1 \ s \ Development.keystore(系统找不到该文件 指定)
2016-06-06T18:45:58.7626300Z ## [debug] rc:1
2016-06-06T18:45:58.7626300Z ## [debug] success:false
2016-06-06T18:45:58.7636313Z ## [错误]错误: C:\ java \ jdk \ jdk1.8.0_25 \ bin \ jarsigner失败,返回码:1
2016-06-06T18:45:58.7656307Z ## [debug]任务结果:失败
2016-06-06T18:45:58.7666308Z ## [错误]返回代码:1
你能告诉我如何解决这个问题吗?