我今天在 Windows 7 上安装了 Visual Studio 2015 RTM,并在 Xamarin(初学者许可证)上注册了一个新帐户。
创建项目后:
我尝试运行该应用程序(之前创建的 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/