This is a migrated thread and some comments may be shown as answers.

UI for Xamarin forms without Enable Multi-Dex in android options

1 Answer 167 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
wilfred
Top achievements
Rank 1
wilfred asked on 21 Apr 2017, 10:29 AM

Is it possible to use UI for Xamarin forms without enabling Multi-Dex in "Android Options" is VS?

Here is what I did:

1.Created a blank "Cross Platform App (Xamarin forms or native)". Selected "Xamarin.foms" and "shared project".

2. Used Telerik Nuget to add "Telerik.UI.for.Xamarin".

After wasting a lot of time finally got it to compile by enabling "Multi-Dex". But some places you can read that this is not something you want to do for best compatibility with devices.

 

Thanks.

Regards,

Wilfred

1 Answer, 1 is accepted

Sort by
0
Lance | Manager Technical Support
Telerik team
answered on 21 Apr 2017, 06:48 PM
Hello Wilfred,

UI for Xamarin doesn't contain enough method references by itself to cause the Davlik limit to be hit.

If you do a File > New > TelerikXFApp, you'll see that we include all of the available references possible and still don't need Multi-Dex. Instead, what you could do is increase your heap size to 1G (which is the minimum we recommend).

Here's a screenshot of where to find this setting:




Regards,
Lance | Tech Support Engineer, Sr.
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
wilfred
Top achievements
Rank 1
Answers by
Lance | Manager Technical Support
Telerik team
Share this question
or