Using unity 4.7.2 with the lastest android sdk.

Hi all,

I am getting the following error when i try to compile my game with the latest android sdk.

Error building Player: CommandInvokationFailure: Unable to list target platforms. Please make sure the android sdk path is correct. See the Console for more details.
C:/Program Files/Java/jdk1.8.0_131\bin\java.exe -Xmx2048M -Dcom.android.sdkmanager.toolsdir="C:/Users/XXXXXXXXX/AppData/Local/Android/sdk\tools" -Dfile.encoding=UTF8 -jar "C:/Program Files (x86)/Unity/Editor/Data/BuildTargetTools/AndroidPlayer\sdktools.jar" -

stderr[
Error:Invalid command android
]
stdout[

]

Unfortunately upgrading my project to a later version of unity is not an option.

Thanks.

To quote my answer on this Stack Overflow question:

I’m curious. We’re you able to deploy to the app stores making builds from 4.72?

I am confused what Unity version actually solved this issue.