简体   繁体   English

如何获取Xamarin.Android.Support.v4和Xamarin.Android.Support.v7.AppCompat NuGet软件包

[英]How to get Xamarin.Android.Support.v4 and Xamarin.Android.Support.v7.AppCompat NuGet packages

I am trying to follow a xamarin tutorial on https://developer.xamarin.com/guides/android/user_interface/creating_a_splash_screen/ 我正在尝试在https://developer.xamarin.com/guides/android/user_interface/creating_a_splash_screen/上关注xamarin教程

But the tutorial requires that my project have the afformentioned nuget packages. 但是本教程要求我的项目必须具有我们提到的nuget软件包。 Both of which i cannot find in the npm registry. 两者都无法在npm注册表中找到。

I need to find them, or i need a tutorial on how to implement a splash screen in a xamarin app, from inside visual studio 2015. 我需要找到它们,或者我需要从Visual Studio 2015内部获取有关如何在xamarin应用中实现启动屏幕的教程。

could anyone please help or provide a link or two...? 谁能帮忙或提供一个或两个链接...?

I figured this one out, inside visual studio u need to go to the solution explorer for the project, right click on References, then click on Manage NuGet packages. 我想出了这个,在Visual Studio中,您需要转到该项目的解决方案资源管理器,右键单击“引用”,然后单击“管理NuGet包”。

After this a tab with a search bar on the top will open. 之后,顶部带有搜索栏的选项卡将打开。 Just type in AppCompat in the search bar and hit enter. 只需在搜索栏中输入AppCompat,然后按Enter。

Pick the Xamarin.Android.Support.v7.AppCompat package and install it. 选择Xamarin.Android.Support.v7.AppCompat程序包并安装。 This will automatically install dependencies, including the Xamarin.Android.Support.v4 package. 这将自动安装依赖项,包括Xamarin.Android.Support.v4包。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM