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 l
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:
Picked up _JAVA_OPTIONS: -Xms512m -Xmx2048m
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
This was due to the heap memory. By default there in the tf.cmd you are starting the tool by requesting a heap of 2048MB. This is too much for certain machine (as in my case). I changed the -Xmx param to 512 and now is all working fine.