我已经将自己的计算机作为DevOps Build Agent。这台机器可以毫无问题地构建Android Apps。但它仍然抱怨未满足要求:
java JDK 安卓SDK vstest Agent.Version -gtVersion 2.116.0
我安装了最新的Java Development Kit 8,这应该添加Java和JDK,但仍然会抱怨。代理版本比2.116更新,并且计算机上安装了最新的Visual Studio。
有人可以在这里指导我正确的方向吗?我看不到机器上缺少任何东西,但是对于Agent Pool而言,构建Xamarin Android Apps仍然无效。
答案 0 :(得分:0)
It is possible that this is resolved in the latest version of the agent. There is some discussion on the repo that looks like this issue. The workaround you mentioned worked in comments about adding AndroidSDK variable to the agent is also captured in the discussion there.