【发布时间】:2017-10-12 05:14:09
【问题描述】:
我在 Windows 10 上使用带有企业订阅的 Xamarin 测试记录器。
尝试开始录制测试时:
编辑器(已加载测试类)-> Xamarin 测试记录器图标-> 记录新测试-> 选择 APK -> 然后选择 .apk 文件
在蓝色状态栏中给出以下错误:
Failed connecting to app: Failed to execute: C:\Program Files (x86)\Java\jdk1.8.0_112\bin\keytool.exe -J-Duser.language=en -list -v -alias <alias> -keytore <pathtokeystore> -storepass <storepass> - exit code: 1 Error occured during initialization of VM Unable to use shared archive. An error has occurred while processing the shared archive file. Unable to unmape shared space.
我相信错误是在执行 32 位版本的 keytool 的 Xamarin 测试记录器中路由的。
我尝试在 Windows shell 中运行相同的命令。
使用 32 位版本的 keytool 时会发生同样的错误。
使用64位版本(JDK版本相同)时不返回错误。
因此,我的问题是:
如何更改 Xamarin 测试记录器使用的 JDK(或 keytool)?
非常感谢您的帮助。
【问题讨论】:
标签: xamarin xamarin.android xamarin-test-cloud