android - 如何减少 Visual Studio 2015 中 Xamarin Forms 应用程序的用户代码大小?

标签 android xamarin xamarin.forms visual-studio-2015

我今天在 Windows 7 上安装了 Visual Studio 2015 RTM,并在 Xamarin(初学者许可证)上注册了一个新帐户。

创建项目后:

enter image description here

我尝试运行该应用程序(之前创建的 AVD)。我得到的只是这个错误:

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.

很清楚自己要做什么,但是不想换营业执照。就个人而言,如果不升级我的许可证,我就无法运行一个空白的、新创建的项目,这是没有意义的。

我可以做些什么来减少“用户代码大小”?

最佳答案

实际上,您不能在入门版中使用 xamarin 的“Xamarin.Forms”部分。那是他们的跨平台 UI 库。您应该可以创建非 Xamarin.Forms 应用。

关于android - 如何减少 Visual Studio 2015 中 Xamarin Forms 应用程序的用户代码大小?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31555886/

相关文章:

java - 使用 XML 进行改造 - 元素在类中没有匹配项

android - iOS 和 Android 应用程序的图像分辨率

Xamarin.Forms 如何禁用导航栏中的后退按钮

android - 在 Xamarin.Forms 中处理 Android 推送通知操作

mvvm - 对于 Xamarin.Forms 中的 MVVM,哪个更好?共同观点还是平台特定观点?

android - 解决 4.3 及以下版本的 Android webview 问题

android - 如何在 Google Developer Console 中为应用定义目标设备

android - 如何在android中画一条线

c# - Xamarin iOS 导航到设置

ios - 使用 Cirrious.FluentLayouts.Touch 在 UIScrollView 中自动布局