TensorFlow.Xamarin.Android icon indicating copy to clipboard operation
TensorFlow.Xamarin.Android copied to clipboard

Could not install package 'Xam.Android.Tensorflow 1.0.0'

Open rringham opened this issue 5 years ago • 0 comments

I'm trying to install Xam.Android.TensorFlow in a new Xamarin project (in this case, one that targets MonoAndroid 5.0, apparently) - but when I try to add the NuGet package in VS21017, this is the error I receive:

Attempting to gather dependency information for package 'Xam.Android.Tensorflow.1.0.0' with respect to project 'OpenCV.SDKDemo', targeting 'MonoAndroid,Version=v5.0'
Gathering dependency information took 64.55 ms
Attempting to resolve dependencies for package 'Xam.Android.Tensorflow.1.0.0' with DependencyBehavior 'Lowest'
Resolving dependency information took 0 ms
Resolving actions to install package 'Xam.Android.Tensorflow.1.0.0'
Resolved actions to install package 'Xam.Android.Tensorflow.1.0.0'
Retrieving package 'Xam.Android.Tensorflow 1.0.0' from 'nuget.org'.
Install failed. Rolling back...
Package 'Xam.Android.Tensorflow.1.0.0' does not exist in project 'OpenCV.SDKDemo'
Package 'Xam.Android.Tensorflow.1.0.0' does not exist in folder 'E:\Projects\avanade-mobile-image-toolkit\src\apps\Xamarin.Android.OpenCV\src\packages'
Executing nuget actions took 693.21 ms
Could not install package 'Xam.Android.Tensorflow 1.0.0'. You are trying to install this package into a project that targets 'MonoAndroid,Version=v5.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.
Time Elapsed: 00:00:00.8002197
========== Finished ==========

Is there a workaround for this?

rringham avatar Oct 01 '18 21:10 rringham