Using unity 4.7.2 with latest android SDK problem

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[
    
    ]

Im not sure but I think there was something about folders changing location on later versions of the sdk, can anybody help me out here, any help would be appreciated.

Thanks,

The error message is slightly different, but effectively the solution is the same as in this Stack overflow question: unity game engine - Unable to merge android manifests. See the Console for more details - Stack Overflow