Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

237
Views
Error after Enable Multi-Dex in Xamarin Android

While creating a Xamarin Android application, after adding the reference to Infragistics Chart control and the Google Play services, we had to enable the 'Enable Multi-Dex' property to true (Since the app hit the dex method limit of 65K). We are getting an error

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

I am using Xamarin Studio Version 5.9 (build 431) Xamarin.Android Version: 5.1.0

Please help to fix this Issue in Xamarin.

over 4 years ago · Santiago Trujillo
3 answers
Answer question

0

We had the same problem on our build server, and we've had to move the Android SDK to a path with no spaces e.g. C:\android-sdk\...

Obviously we needed to update the ANDROID_HOME environment variable to the new path, and set the SDK paths in Xamarin Studio and Visual Studio.

This has solved the problem for us.

over 4 years ago · Santiago Trujillo Report

0

For those who don´t want to change the Android SDK actual location plus ANDROID_HOME env variable, a simple link is enough:

mklink /D "C:\android-sdk" "C:\Program Files (x86)\Android\android-sdk"
over 4 years ago · Santiago Trujillo Report

0

For future reference, there is also a bug if you have JDK 1.8 installed..

See this thread https://bugzilla.xamarin.com/show_bug.cgi?id=44013

Unfortunately the actual bug is inaccessible to general public.. https://bugzilla.xamarin.com/show_bug.cgi?id=42669

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!