That error can happen for a variety of reasons. One of the more popular reasons is that you've surpassed the Davlik 65K limit
(due to too many external library references).
The fix for this is usually to enable MultiDex
or decrease your external dependencies.
This problem is ultimately is not related to the Telerik UI for Xamarin components but to make sure, I've attached a File > New > TelerikXFApp
sample app (all platforms). This is a blank app with just a landing page that is UI for Xamarin enabled. Run the app on your side and confirm you see StartPage.xaml load.
Here is what you need to do to get the attached app running:
1 - Download, extract and open the solution in Visual Studio (if you need to remove any projects you do not have an SDK installed for, like UWP, you can do that now)
2 - Right click on the solution and select Manage Nuget Packages for Solution
3 - Click the "Restore Packages
" button that will appear at the top right in a yellow bar
4 - Once all the packages are restored, right click on the RomanTestApp.Portable
project and select Build
5 - Right click on the android project and select "Set as Startup Project
" and then select Build
6 - Deploy the app (I have successfully deployed this to an emulator and to the Samsung Galaxy 7 Edge running android 6.0.1.)
A couple tips to make sure that your current project(s) are using UI for Xamarin's requirements:
- System Requirements
- You have the required dependencies for the components
- You have the required Android Support Libraries
(important, UI for Xamarin releases are tied to specific versions of Android SDKs and support libraries).
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?
Telerik Feedback Portal
and vote to affect the priority of the items