无法安装' SQLite.Net.Platform.XamarinAndroid'

时间:2016-06-18 13:18:23

标签: sqlite xamarin visual-studio-2015 xamarin.android

我正在尝试安装' SQLite.Net.Platform.XamarinAndroid'进入我的xamarin便携式项目,面临一些问题..

     \PocketExamFunda\packages'
     Install-Package : Could not install package 'SQLite.Net.Platform.XamarinAndroid 2.5.1'. You are trying to install this package 
     into a project that targets '.NETPortable,Version=v4.5,Profile=Profile111', but the package does not contain any assembly 
     references or content files that are compatible with that framework. For more information, contact the package author.
     At line:1 char:1
     + Install-Package SQLite.Net.Platform.XamarinAndroid -Version 2.5.1
     + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     + CategoryInfo          : NotSpecified: (:) [Install-Package], Exception
     + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand

我不明白这是什么问题,请任何人帮助我吗?

1 个答案:

答案 0 :(得分:0)

您尝试安装的软件包已弃用。 对于PCL项目,您需要安装SQLite.Net-PCLSQLite.Net-PCL是您可以在Xamarin.AndroidXamarin.iOS和PCL项目中使用的软件包:

here下载。