找不到 Xamarin.UITest 3.0.14 apksigner

编程入门 行业动态 更新时间:2024-10-28 04:25:32
本文介绍了找不到 Xamarin.UITest 3.0.14 apksigner的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时送ChatGPT账号..

从 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屋!

更多推荐

[db:关键词]

本文发布于:2023-04-25 21:00:16,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1123458.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:找不到   Xamarin   UITest   apksigner

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!