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:
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:In the Path to tf executable text field, navigate to the location of the tf executable.
Click Test to test that the executable has been found and is working as expected.
More details please refer this tutorial.
I had to do a couple of things to make this work.
I was following this video and it selects 'tf' as executable. I'm using Windows so I had to select tf.cmd as executable. Getting Started with TFVC inside of Android Studio with the Team Services Plugin
Also I had _JAVA_OPTIONS set in environment variables so when Android Studio was testing tf executable, the first response was:
After I removed _JAVA_OPTIONS from environment variables tf executable was accepted.
Going through debuglog Android Studios debuglog was pretty useful to understand the issue: How do I collect logs to help troubleshoot an issue?
Also I ended up modifying tf.cmd according to this. Seems to work so I'm going to let it be. https://github.com/Microsoft/vso-intellij/issues/45