找不到 Xamarin.UITest 3.0.14 apksigner [英] Xamarin.UITest 3.0.14 apksigner not found

查看:39
本文介绍了找不到 Xamarin.UITest 3.0.14 apksigner的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从 3.0.13 升级到 Xamarin.UITest v.3.0.14 后,尝试签名时 APK 加载中断.

After upgrading to Xamarin.UITest v.3.0.14 from 3.0.13, APK loading breaks when attempting to sign.

Android SDK not found. Please install it and if it is still not located, please set the ANDROID_HOME environment variable to point to the directory.

Searched locations: 
Windows Registry
C:\Users\xxxx\AppData\Local\Android\Sdk - Partial match. Found: zipalign, aapt, adb, android.jar Missing: apksigner [ Source: ANDROID_HOME ]

快速搜索apksigner"在 %ANDROID_HOME% 显示它位于 build-tools/30.0.3/lib 作为 .jar 文件,build-tools/30.0.3 作为 .bat 文件,以及在 build-tools/29.0.2 下.

A quick search for "apksigner" at %ANDROID_HOME% shows it's located under build-tools/30.0.3/lib as .jar file, and build-tools/30.0.3 as .bat file, as well as under build-tools/29.0.2.

是否有办法让 Xamarin.UITest 找到 apksigner?

Is there a workaround to get Xamarin.UITest to find apksigner?

推荐答案

是的,我注意到了同样的错误:Xamarin.UITest 3.0.14 不接受 apksigner.bat 文件.我试图创建一个名为apksigner"的文件.(没有任何扩展名,就像 Android SDK 的 Linux 和 MacOS 文件一样)并且错误消失了.但是这种变通方法会引发另一个错误并且问题仍然存在.

Yeah I noticed the same error : Xamarin.UITest 3.0.14 doesn't accept the apksigner.bat file. I tried to create a file named "apksigner" (without any extension, just like Linux and MacOS files for Android SDK) and the error disappeared. But this workaround will raise another error and the problem will remain.

我找到的唯一解决方案是将您的 Xamarin.UITest 降级到 3.0.13,因为(在我看来)3.0.14 仅适用于 Linux 和 MacOS.

The only solution I found is to downgrade your Xamarin.UITest to 3.0.13, because (in my opinion) 3.0.14 will only work with Linux and MacOS.

下个版本应该会解决这个问题,所以我们只需要等待^^

The next version should solve this problem, so we just have to wait ^^

这篇关于找不到 Xamarin.UITest 3.0.14 apksigner的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆