Build Error Android: CommandInvokationFailure

I have been trying to build my project after upgrading to Unity 5. As the build neards the end i get this erorr along with a failed to build message:

CommandInvokationFailure: Failed to build apk. See the Console for details.
C:\Program Files\Java\jdk1.8.0_11\bin\java.exe -Xmx2048M -Dcom.android.sdkmanager.toolsdir=“C:/Program Files (x86)/Android/android-sdk ools” -Dfile.encoding=UTF8 -jar “C:/Program Files/Unity/Editor/Data/BuildTargetTools/AndroidPlayer\sdktools.jar” -

stderr[Error: Not a file ‘D:\Tanks Project\Tanks-androidbuild\Tanks’]

stdout

UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg)
UnityEditor.Android.AndroidSDKTools.RunCommand (System.String javaExe, System.String sdkToolsDir, System.String sdkToolCommand, Int32 memoryMB, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg)
UnityEditor.HostView:OnGUI()

Any ideas on where i am going wrong?

I finally managed to fix this, it appears that I had to reselect my keystore and key in the player settings and enter the password again. That seemed to do the trick if anyone else has encountered this issue.