Bug 56983 - Expecting class path separator ';' before '\Android\android-sdk\build-tools\25.0.0\lib\shrinkedAndroid.jar'
Summary: Expecting class path separator ';' before '\Android\android-sdk\build-tools\2...
Status: RESOLVED DUPLICATE of bug 33052
Alias: None
Product: Android
Classification: Xamarin
Component: MSBuild ()
Version: 7.3 (15.2)
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: dean.ellis
URL:
Depends on:
Blocks:
 
Reported: 2017-05-31 01:51 UTC by mitchmuenster
Modified: 2017-05-31 15:25 UTC (History)
5 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED DUPLICATE of bug 33052

Description mitchmuenster 2017-05-31 01:51:18 UTC
When building an android app with multidex enabled error is generate with default sdk path set on Visual Studio 2017 install (C:\Program Files (x86)\Android\....)

Expecting class path separator ';' before '\Android\android-sdk\build-tools\25.0.0\lib\shrinkedAndroid.jar' in argument number 8    DriverAssistant.Mobile.Android    C:\Code\DriverAssistant.Mobile\DriverAssistant.Mobile\DriverAssistant.Mobile.Android\CREATEMULTIDEXMAINDEXCLASSLIST

**Current Fix** 
Current workaround I have is to move where your android sdk is stored on hard drive (i.e.C:\Android\android-sdk\....)and the issue goes away. Seems it is not liking a path name with spaces in it so the spacing between m F, and s ( is what is not linking. 

while this simple for those of use with Xamarin experience to pick up, those newer to the platform may not realize this, and cant always find the answer just by googling it. If you guys could fix this in the next release or change the default install path it would be appreciated.
Comment 1 dean.ellis 2017-05-31 15:25:35 UTC
This is related/duplicate of bugs
38693
33052

The tooling google ship for Multidex (and proguard) is broken on windows.
The related commit is xamarin-android/master/6829b7d1

*** This bug has been marked as a duplicate of bug 33052 ***