如何降低用户的code尺寸的Xamarin窗体应用程序在Visual Studio 2015年? [英] How to decrease user code size for a Xamarin Forms App in Visual Studio 2015?
问题描述
我今天7安装了Visual Studio 2015年RTM Windows和注册新帐户Xamarin(入门许可)。
I installed Visual Studio 2015 RTM on Windows 7 today and registered a new account on Xamarin (Starter License).
创建项目后:
我试图运行的应用程序(AVD之前创建)。所有我得到了什么是这个错误:
I tried to run the application (AVD created before). All what I got was this error:
mandroid错误XA9005:用户code尺寸,2949503字节,大于 131072和要求aáBusinessá(或更高版本)许可证。
mandroid error XA9005: User code size, 2949503 bytes, is larger than 131072 and requires aáBusinessá(or higher) License.
mandroid错误
XA9006:使用type Android.Runtime.JNIEnv
requiresáBusinessá(或更高)许可证。
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.
我能做些什么来减少'用户code尺寸'?
What can I do to reduce the 'user code size'?
推荐答案
其实,你不能使用xamarin的Xamarin.Forms部分中的精简版。这是他们的跨平台的UI库。你应该罚款创建非Xamarin.Forms应用程序。
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.
这篇关于如何降低用户的code尺寸的Xamarin窗体应用程序在Visual Studio 2015年?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!