2016-06-18 16 views
1
私はいくつかの問題に直面し、私のxamarinポータブルプロジェクトに「SQLite.Net.Platform.XamarinAndroid」をインストールしようとしています

..私はしませんでしたインストールできません「SQLite.Net.Platform.XamarinAndroid」

 \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 

誰が私を助けることができる問題を理解してください?

答えて

0

インストールしようとしているパッケージは廃止予定です。 PCLプロジェクトの場合は、SQLite.Net-PCLをインストールする必要があります。

ダウンロードをhereから: SQLite.Net-PCLあなたがXamarin.AndroidXamarin.iOSとPCLのプロジェクトで使用できるパッケージです。

+0

これはSQLite.Net.Platform.XamarinAndriodは今存在していますか? @Avi K. –

+0

私が理解しているところでは、SQLite.Net-PCLにはAndroidのものを含むさまざまな実装が含まれていますが、スタンドアロンのSQLite.Net.Platform.XamarinAndroidパッケージはもうありません。 SQLite.Net-PCLパッケージをsqlite機能が必要なプロジェクトの各タイプにインストールする必要があります。 –

+0

特定のプラットフォームでsqliteを接続する方法は? –

関連する問題