如何在 Android Studio 中使用 TFS [英] How to Use TFS in Android Studio

查看:62
本文介绍了如何在 Android Studio 中使用 TFS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在 Android Studio 中使用 TFS.我安装了 Visual Studio Team Services,然后在设置的 TFVC 中,我应该选择 TF 可执行文件,我下载了以下链接的 TFE,但是当我测试 TF exe 文件时,出现以下错误.

指定的路径没有指向有效的 TF 可执行文件.

下载链接:

https://github.com/microsoft/team-explorer-everywhere/releases

如何解决这个问题?

解决方案

请仔细检查您是否遵循以下步骤:

<块引用>

您必须安装 TF 命令行工具 才能使用 TFVC 功能.插件支持的最低版本是14.0.3.要安装该工具,请下载最新的TEE-CLC-14...zip"文件并将其解压缩到已知位置.解压文件后,您必须接受许可协议.为此,请打开命令提示/终端窗口,导航到解压目录,然后运行tf eula.阅读 EULA 后,输入 y enter code here 接受它.注意:如果您忘记这样做,插件可能无法加载带有运行时异常.

要让插件检测到该工具,您必须按照以下说明在Settings/Preferences 菜单中设置可执行文件的位置:

  1. 转到 RD 设置版本控制 -TFVC
  2. Path to tf executable 文本字段中,导航到tf 可执行文件.

  3. 点击测试以测试可执行文件是否已找到并且正在运行正如预期的那样.

  4. 点击应用,然后确定保存并退出.

更多详情请参阅此教程.>

I want to use TFS in Android Studio. I installed Visual Studio Team Services and then in TFVC of Settings, i should to select TF executable file, i downloaded TFE of below link but when i Test TF exe file, i give below error.

The specified path does not lead to a valid TF executable.

Downloaded link:

https://github.com/microsoft/team-explorer-everywhere/releases

How can solve this problem?

解决方案

Please double check if you have follow below steps:

You must have the TF command line tool installed to be able to use TFVC features. The minimum version supported by the plugin is 14.0.3. To install the tool, download the latest "TEE-CLC-14...zip" file and extract it to a known location. After extracting the files, you must accept the license agreement. To do so, open a Command Prompt/Terminal window, navigate to the extracted directory, and run tf eula. After reading the EULA, enter y enter code hereto accept it. NOTE: If you forget to do this, the plugin may fail to load with a RuntimeException.

For the tool to be detected by the plugin, you must set the location of the executable in the Settings/Preferences menu by following these instructions:

  1. Go to RD Settings Version Control -TFVC
  2. In the Path to tf executable text field, navigate to the location of the tf executable.

  3. Click Test to test that the executable has been found and is working as expected.

  4. Click Apply then OK to save and exit.

More details please refer this tutorial.

这篇关于如何在 Android Studio 中使用 TFS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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