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

前端 未结 1 947
清酒与你
清酒与你 2021-02-18 18:03

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:50

    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)
提交回复
热议问题