Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to decrease user code size for a Xamarin Forms App in Visual Studio 2015?

I installed Visual Studio 2015 RTM on Windows 7 today and registered a new account on Xamarin (Starter License).

After creating the project:

enter image description here

I tried to run the application (AVD created before). All what I got was this error:

mandroid error XA9005: User code size, 2949503 bytes, is larger than 131072 and requires aáBusinessá(or higher) License.

mandroid error XA9006: Using type Android.Runtime.JNIEnv requiresáBusinessá(or higher) License.

It's clear what I have to do, but I don't want to change to the business license. Personally, it makes no sense, that I can't run a blank, freshly created project without upgrading my license.

What can I do to reduce the 'user code size'?

like image 999
greenhoorn Avatar asked Jul 22 '15 06:07

greenhoorn


2 Answers

Actually, you can't use the "Xamarin.Forms" part of xamarin in the starter edition. That is their cross platform UI library. You should be fine creating a non Xamarin.Forms app.

like image 161
Michel Avatar answered Sep 30 '22 05:09

Michel


Xamarin.Forms works only with Indie / Bussiness editions.

like image 24
Daniel Luberda Avatar answered Sep 30 '22 03:09

Daniel Luberda