Personal build with Android Studio fails

I installed the plugin for Android Studio and attempted to do a Remote Run but it failed. The server log on TeamCity's site shows that some class cannot be resolved. However, the big issue I have is that the message shows my build being run against the master branch. My project in Android Studio is actually set to another branch, so it's obvious that TeamCity is going to fail building my code since the master branch doesn't even have the missing code.

It isn't clear to me how TeamCity and/or the plugin builds with Git branches. The branch I am using in my Android Studio project does exist in TeamCity on the server. My assumption is that the plugin would recognize my current branch and attempt to do a personal build on the server using the same branch that is located there. But that does not appear to be the case. Why is it using master and not my current branch?

Please sign in to leave a comment.