Problems installing Api.ai into xamarin - xamarin

i keep having this error when trying to install dialog flow (API.AI) into my xamarin
Severity Code Description Project File Line Suppression State
Error Could not install package 'ApiAi 1.0.4'. You are trying to install this package into a project that targets 'MonoAndroid,Version=v6.0', 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.

Related

Could not install package "System.Xml.XmlDocument 4.3.0", Does anyone knows the solution?

Error:
Severity Code Description Project File Line Suppression State
Error Could not install package 'System.Xml.XmlDocument 4.3.0'. You are trying to install this package into a project that targets '.NETPortable,Version=v4.5,Profile=Profile259', 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.
I have tried with below set of Trial and error methods but no luck.
1.Cleaned solution and Build/Rebuild Solution.
2.Deleted Packages and restored.
3.Deleted .vs folder and Tried.
4.Replaces System.XML with version 2.0.5 in Mono android file and tried.
5.Tried installing "System.Xml.XmlDocument" but Not allowing to install it and prompted below error
"Severity Code Description Project File Line Suppression State
Error Could not install package 'System.Xml.XmlDocument 4.3.0'. You are trying to install this package into a project that targets '.NETPortable,Version=v4.5,Profile=Profile259', 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."
6.Trying to add reference but not allowing to add reference.It Prompts below error
"Error HR has been returned from Call to a COM component"
7.Merged from iOS latest update but no use same error.
8.Removed empty System.Xml folder from object browser and checked.
9.Removed System.xml.dll and Reinstalled and checked.
10.Removed empty System.Xml.XmlDocument and reinstalled and checked.

Error Could not install package 'Microsoft.Build.Framework 14.3.0'

I have used visual studio 2019, I have added some NuGet packages but it's show error like..
Error Could not install package 'Microsoft.Build.Framework 14.3.0'. You are trying to install this package into a project that targets 'MonoAndroid,Version=v9.0', 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.
Note: My Xamarin Binding library(Android) solution target version9.0.
please help me to resolve this issue.
Try by updating your Microsoft.Build.Framework package to the latest version (at the moment it is 16.0.461).
You can check it also here: https://www.nuget.org/packages/Microsoft.Build.Framework/
Once I copied the build task property section from my iOS csproj to my Android csproj.. I got a slightly different message. It asked me to add Microsoft.Build.Utilities.Core.
I then had to add the Microsoft.Win32.Registry 5 nuget then as it tried to install 4.3.0 which my Android project didn't like.

How to fix Error NU1202 Package Xamarin.Android.Support.CustomTabs

I'm building a Xamarin App!
When I install Xamarin.Android.Support.CustomTabs Nuget package it shows me this error and no other nuget package is updating even !
I tried everything searched on google but still I've no idea what to do with this error
Error:
Severity Code Description Project File Line Suppression State
Error CS0103 The name 'Detail' does not exist in the current
context DummyApp C:\Users\hashir.malik\source\repos\DummyApp\DummyApp\DummyApp\MainPage.xaml.cs 29 Active
Error NU1202 Package Xamarin.Android.Support.CustomTabs 27.0.2 is not
compatible with netstandard2.0 (.NETStandard,Version=v2.0). Package
Xamarin.Android.Support.CustomTabs 27.0.2 supports: monoandroid81
(MonoAndroid,Version=v8.1) DummyApp C:\Users\hashir.malik\source\repos\DummyApp\DummyApp\DummyApp\DummyApp.csproj 1
ScreenShot : https://i.stack.imgur.com/DaLBj.png
You're trying to install the package to the shared project which is .Net Standard 2.0.
The Packages only need to be installed to the Android project. So uncheck "DummyApp" and only check "DummyApp.Android" in NuGet UI.

target 'MonoAndroid,Version=v6.0' project dependencies

My Visual studio 2017 nuget package can't install following error is occured in Xamarin.Forms Portable class library Project
Severity Code Description Project File Line Suppression State
Error Could not install package 'Xamarin.Android.Support.Compat 25.3.1'. You are trying to install this package into a project that targets 'MonoAndroid,Version=v6.0', 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. 0
Xamarin.Android.Support.Compat version 25.3.1 has dependencies of
MonoAndroid 7.0
Xamarin.Android.Support.Annotations (= 25.3.1)
Xamarin.Build.Download (>= 0.4.3)
Re: https://www.nuget.org/packages/Xamarin.Android.Support.Compat/25.3.1
You need to set the Target Framework to at least 7.0.
Re: https://developer.xamarin.com/guides/android/application_fundamentals/understanding_android_api_levels/#Target_Framework

unable to install Xam.Plugin.Iconize.FontAwesome 1.0.10

I am trying to install Xam.Plugin.Iconize.FontAwesome 1.0.10 in my xamarin forms project, but I am getting the following error. Anybody had success with this ? I have xamarin forms 2.3.107 installed
Could not install package 'Xam.Plugin.Iconize.FontAwesome 1.0.10'. You
are trying to install this package into a project that targets
'.NETPortable,Version=v4.5,Profile=Profile259', 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.
if anybody has a working solution please help me

Resources