rdelrosario / xamarin-plugins

Cross platform Xamarin & Windows plugins for PCLs
MIT License
179 stars 161 forks source link

Newtonsoft.Json [8.0.3, )' does not exist in project #70

Closed hopewise closed 7 years ago

hopewise commented 7 years ago

Although Newtonsoft.Json 9.0.0.0 is installed I get this error when try to install Push Notification

Here is what I get:

Attempting to gather dependency information for package 'Xam.Plugin.PushNotification.1.2.2' with respect to project 'App.Main', targeting '.NETPortable,Version=v4.5,Profile=Profile78'
Attempting to resolve dependencies for package 'Xam.Plugin.PushNotification.1.2.2' with DependencyBehavior 'Lowest'
Resolving actions to install package 'Xam.Plugin.PushNotification.1.2.2'
Resolved actions to install package 'Xam.Plugin.PushNotification.1.2.2'
For adding package 'Xam.Plugin.PushNotification.1.2.2' to project 'App.Main' that targets 'portable45-net45+win8+wp8'.
For adding package 'Xam.Plugin.PushNotification.1.2.2' to project 'App.Main' that targets 'portable45-net45+win8+wp8'.
Adding package 'Xam.Plugin.PushNotification.1.2.2' to folder '/Users/samir/Documents/projects/xamarin/packages'
Added package 'Xam.Plugin.PushNotification.1.2.2' to folder '/Users/samir/Documents/projects/xamarin/packages'
Removed reference 'PushNotification.Plugin.Abstractions' from project 'App.Main'.
Added reference 'PushNotification.Plugin.Abstractions' to project 'App.Main'.
Removed reference 'PushNotification.Plugin' from project 'App.Main'.
Added reference 'PushNotification.Plugin' to project 'App.Main'.
Install failed. Rolling back...
Package 'Xam.Plugin.PushNotification.1.2.2 : Newtonsoft.Json [8.0.3, )' does not exist in project 'App.Main'
Removing package 'Xam.Plugin.PushNotification.1.2.2 : Newtonsoft.Json [8.0.3, )' from folder '/Users/samir/Documents/projects/xamarin/packages'
Removed folder '/Users/samir/Documents/projects/xamarin/packages/Xam.Plugin.PushNotification.1.2.2/content/portable-net45+wp8+wpa81+win8+MonoAndroid10+MonoTouch10+Xamarin.iOS10/Helpers'.
Removed folder '/Users/samir/Documents/projects/xamarin/packages/Xam.Plugin.PushNotification.1.2.2/lib/portable-net45+wp8+wpa81+win8+MonoAndroid10+MonoTouch10+Xamarin.iOS10+UAP10'.
Removed folder '/Users/samir/Documents/projects/xamarin/packages/Xam.Plugin.PushNotification.1.2.2/content/portable-net45+wp8+wpa81+win8+MonoAndroid10+MonoTouch10+Xamarin.iOS10'.
Removed folder '/Users/samir/Documents/projects/xamarin/packages/Xam.Plugin.PushNotification.1.2.2/content/MonoAndroid10'.
Removed folder '/Users/samir/Documents/projects/xamarin/packages/Xam.Plugin.PushNotification.1.2.2/content/Xamarin.iOS10'.
Removed folder '/Users/samir/Documents/projects/xamarin/packages/Xam.Plugin.PushNotification.1.2.2/content/MonoTouch10'.
Removed folder '/Users/samir/Documents/projects/xamarin/packages/Xam.Plugin.PushNotification.1.2.2/lib/MonoAndroid10'.
Removed folder '/Users/samir/Documents/projects/xamarin/packages/Xam.Plugin.PushNotification.1.2.2/lib/Xamarin.iOS10'.
Removed folder '/Users/samir/Documents/projects/xamarin/packages/Xam.Plugin.PushNotification.1.2.2/lib/MonoTouch10'.
Removed folder '/Users/samir/Documents/projects/xamarin/packages/Xam.Plugin.PushNotification.1.2.2/lib/UAP10'.
Removed folder '/Users/samir/Documents/projects/xamarin/packages/Xam.Plugin.PushNotification.1.2.2/lib/wpa81'.
Removed folder '/Users/samir/Documents/projects/xamarin/packages/Xam.Plugin.PushNotification.1.2.2/lib/win8'.
Removed folder '/Users/samir/Documents/projects/xamarin/packages/Xam.Plugin.PushNotification.1.2.2/content'.
Removed folder '/Users/samir/Documents/projects/xamarin/packages/Xam.Plugin.PushNotification.1.2.2/lib'.
Removed file 'Xam.Plugin.PushNotification.1.2.2.nupkg' from folder '/Users/samir/Documents/projects/xamarin/packages/Xam.Plugin.PushNotification.1.2.2'.
Removed folder '/Users/samir/Documents/projects/xamarin/packages/Xam.Plugin.PushNotification.1.2.2'.
Removed package 'Xam.Plugin.PushNotification.1.2.2 : Newtonsoft.Json [8.0.3, )' from folder '/Users/samir/Documents/projects/xamarin/packages'
Could not load file or assembly or one of its dependencies.

Any idea?

rdelrosario commented 7 years ago

What platform are you testing on?

hopewise commented 7 years ago

I am on Mac On 11 Jul 2016 17:49, "Rendy Del Rosario" notifications@github.com wrote:

What platform are you tesitng on?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rdelrosario/xamarin-plugins/issues/70#issuecomment-231757297, or mute the thread https://github.com/notifications/unsubscribe/ABAxJRfI7m2Tu6DSk6I5nl3hb5zf-Qsxks5qUlfggaJpZM4JI1wN .

rdelrosario commented 7 years ago

But I mean the project is iOS, Android or UWP? were you are installing the package?

hopewise commented 7 years ago

Ah, its Android

rdelrosario commented 7 years ago

Still getting this issue?

hopewise commented 7 years ago

After lots of errors, we decided to build the app natively..