Expecting class path separator ';' before '\Android\android-sdk\build-tools\23.0.1\lib\shrinkedAndroid.jar' in argument number 8

前端 未结 1 892
感动是毒
感动是毒 2021-02-18 18:08

Using VS 2015 for Xamarin development, when I attempt to build an Android project which has Enable Multi-Dex checked, I get the following error :-

Expecti

1条回答
  •  感动是毒
    2021-02-18 18:42

    If your path to SDK location contains space, the build process will cause this issue.

    Eg : If SDK Location is `C:\Program Files\Android\android-sdk, it has space between Program Files.

    If your SDK is in Program Files renaming it by removing the space won't be feasible. So copy the SDK folder to some other location say C:\Android\ & set the Android SDK Path in Visual Studio to the new Location.

    To change Android SDK location in Visual Studio, Tools->Options->Xamarin->Android Settings->Android SDK Location (Change)

    0 讨论(0)
提交回复
热议问题