如何减少 Visual Studio 2015 中 Xamarin Forms App 的用户代码大小? [英] How to decrease user code size for a Xamarin Forms App in Visual Studio 2015?

查看:17
本文介绍了如何减少 Visual Studio 2015 中 Xamarin Forms App 的用户代码大小?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我今天在 Windows 7 上安装了 Visual Studio 2015 RTM,并在 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:用户代码大小,2949503 字节,大于131072 并且需要 aáBusinessá(或更高)许可证.

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

安卓错误XA9006:使用类型 Android.Runtime.JNIEnv需要商业(或更高)许可证.

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'?

推荐答案

实际上,您无法在入门版中使用 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.

这篇关于如何减少 Visual Studio 2015 中 Xamarin Forms App 的用户代码大小?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆