[英]Getting Error while creating new project in Xamarin.Forms
You have to change the target framework for compile to “Android 7.1(Nougat)”. 您必须将要编译的目标框架更改为“ Android 7.1(牛轧糖)”。
Here are Steps to change the target compile framework : Right Click on Android Project -> Properties 以下是更改目标编译框架的步骤:右键单击Android Project-> Properties
Current Android application properties(Compile using Android 6.0) 当前的Android应用程序属性(使用Android 6.0进行编译)
Change Compile Android Version to Android 7.1 (Nougat) 将Compile Android版本更改为Android 7.1(牛轧糖)
When Change the target compilation version of Android , Visual Studio will ask you to restart the project to configure itself… "Yes" to close and reopen , after the reboot go to NuGet package manager to update Android packages and Select Android Packages v.25.3.1.. when the update ends Re-Build the project 更改Android的目标编译版本时,Visual Studio会要求您重新启动项目以对其进行自我配置…“是”以关闭并重新打开,重新引导后转到NuGet软件包管理器以更新Android软件包并选择“ Android软件包v.25.3”。 1 ..更新结束后,重新构建项目
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.