Bug 30362 - Warn against using SDK Location with Space
Summary: Warn against using SDK Location with Space
Status: RESOLVED DUPLICATE of bug 54683
Alias: None
Product: Android
Classification: Xamarin
Component: MSBuild ()
Version: 6.0.0
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Jonathan Pryor
Depends on: 52336 33052
  Show dependency tree
Reported: 2015-05-22 12:28 UTC by Cody Beyer (MSFT)
Modified: 2017-06-28 16:39 UTC (History)
11 users (show)

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:

Description Cody Beyer (MSFT) 2015-05-22 12:28:18 UTC
### Description

Having a space in the path to the Android SDK can cause build issues such as:

>Expecting class path separator ';' before '\Android\android-sdk\build-tools\22.0.1\lib\shrinkedAndroid.jar'

We should warn users to considering placing the SDK in a non-spaced location

### Version

Xamarin 3.11.445
Comment 2 Michel Moorlag 2017-06-14 07:49:00 UTC
I only have this issue when I enable multi-dex. But since the android-sdk folder is default in Proram space Files(x86) this is really annoying. Had to move the Android-sdk folder to a non-spaced location before I could enable multi-dex. Also I lost time to google this and I found the solution here. Xamarin should be able to handle spaced loctions of the android sdk in my opinion.
Comment 3 Brendan Zagaeski (Xamarin Team, assistant) 2017-06-14 19:36:28 UTC
> Xamarin should be able to handle spaced loctions of the android sdk in my opinion.
## Cross-reference

That is the topic of Bug 33052, marked as a "Depends on" for this bug.
Comment 4 Jon Douglas [MSFT] 2017-06-28 16:39:50 UTC
I believe this specific issue is fixed as per the status of https://bugzilla.xamarin.com/show_bug.cgi?id=33052

However there is a more broader issue of other items such as the overall path hygiene


Thus I am marking this bug as a duplicate of #54683 as there are many more items that need to be cleaned up other than the SDK including a space in the path. There's also an issue if the NDK gets installed in a space in path.

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