When I browse Xamarin Forms NuGet Package, I can see the following dependencies:
MonoAndroid 1.0
Xamarin.Android.Support.Design (= 23.3.0)
Xamarin.Android.Support.v4 (= 23.3.0)
Xamarin.Android.Support.v7.AppCompat (= 23.3.0)
Xamarin.Android.Support.v7.CardView (= 23.3.0)
Xamarin.Android.Support.v7.MediaRouter (= 23.3.0)
MonoAndroid 7.0
Xamarin.Android.Support.Design (>= 23.3.0)
Xamarin.Android.Support.v4 (>= 23.3.0)
Xamarin.Android.Support.v7.AppCompat (>= 23.3.0)
Xamarin.Android.Support.v7.CardView (>= 23.3.0)
Xamarin.Android.Support.v7.MediaRouter (>= 23.3.0)
WindowsPhone 8.0
WPtoolkit (>= 4.2013.8.16)
What is the difference between MonoAndroid 1.0 and MonoAndroid 7.0
Or different way: how can I use MonoAndroid 7.0 in my Xamarin Forms project?
I need to have Xamarin.Android.* v25.3.1 packages not v23.3.0.
MonoAndroid 7.0 seems to be fine with this, but I cannot make it work in Visual Studio.
Related
I want to add flutter_geofire to my YAML file but I keep getting this error
[!] CocoaPods could not find compatible versions for pod "Firebase/Database":
In Podfile:
firebase_database (from `.symlinks/plugins/firebase_database/ios`) was resolved to 9.1.5, which depends on
Firebase/Database (= 9.5.0)
flutter_geofire (from `.symlinks/plugins/flutter_geofire/ios`) was resolved to 0.0.1, which depends on
GeoFire (~> 4.0) was resolved to 4.1.0, which depends on
Firebase/Database (~> 6.0)
Any help please.
I'm having gem issues when I tried to upgrade to rails 5.1.1, I get the the output below when I run bundle update rails from 4.2: Any ideas what the issue might be?
Bundler could not find compatible versions for gem "railties":
In Gemfile:
railties (~> 5.0)
devise was resolved to 4.3.0, which depends on
railties (< 5.2, >= 4.1.0)
quiet_assets (~> 1.1) was resolved to 1.1.0, which depends on
railties (< 5.0, >= 3.1)
rails (~> 5.1.1) was resolved to 5.1.1, which depends on
railties (= 5.1.1)
responders (~> 2.1) was resolved to 2.4.0, which depends on
railties (< 5.3, >= 4.2.0)
Think the problem may lie with railties (~> 5.0) , if you look a little further down then it states that Rails 5.1.1 needs Railties 5.1.1. rails (~> 5.1.1) was resolved to 5.1.1, which depends on
railties (= 5.1.1). On a side note, have you upgraded before? It may be worth upgrading from 4.2 to 5.0 and then 5.1 to make sure you catch any errors from deprecated methods. See this -> Rails Upgrade Guide
Edit to add:
Looks as though the quiet_assets gem is deprecated. If you need quiet_assets gem then check out this article on silencing asset-logging (explains it better than I can)! Quiet Assets in Rails 5
I was trying to upgrade my current rails 5.0.2 version to the latest rails 5.1.0 version by running bundle update rails after adding gem 'rails', '~> 5.1' on my Gemfile and I got this error message.
Bundler could not find compatible versions for gem "activesupport":
In Gemfile:
rails (~> 5.1) was resolved to 5.1.0, which depends on
activejob (= 5.1.0) was resolved to 5.1.0, which depends on
globalid (>= 0.3.6) was resolved to 0.4.0, which depends on
activesupport (>= 4.2.0)
jbuilder (~> 2.5) was resolved to 2.6.1, which depends on
activesupport (< 5.1, >= 3.0.0)
rails (~> 5.1) was resolved to 5.1.0, which depends on
activesupport (= 5.1.0)
rails (~> 5.1) was resolved to 5.1.0, which depends on
activesupport (= 5.1.0)
rails (~> 5.1) was resolved to 5.1.0, which depends on
activesupport (= 5.1.0)
rails (~> 5.1) was resolved to 5.1.0, which depends on
activesupport (= 5.1.0)
rails (~> 5.1) was resolved to 5.1.0, which depends on
activesupport (= 5.1.0)
rails (~> 5.1) was resolved to 5.1.0, which depends on
activesupport (= 5.1.0)
rails (~> 5.1) was resolved to 5.1.0, which depends on
activesupport (= 5.1.0)
rails (~> 5.1) was resolved to 5.1.0, which depends on
actionpack (= 5.1.0) was resolved to 5.1.0, which depends on
rails-dom-testing (~> 2.0) was resolved to 2.0.2, which depends on
activesupport (< 6.0, >= 4.2.0)
rails (~> 5.1) was resolved to 5.1.0, which depends on
sprockets-rails (>= 2.0.0) was resolved to 3.2.0, which depends on
activesupport (>= 4.0)
This sounds like you need to try and upgrade to a newer version of jbuilder. However, looking at RubyGems the current dependancies for Jbuilder still say:
activesupport < 5.1, >= 3.0.0
IF this is the case, JBuilder doesn't yet support the more recent Activesupport, now required by Rails 5.1 - so perhaps JBuilder isn't yet available in Rails 5.1.
If you need to get the newer Rails, then you should probably consider:
Checking to see if there is a roadmap in JBuilder for this.
Raising a JBuilder ticket requesting support for that later Rails version.
You could try an override - since it may potentially just work, and that <5.1 is just since it's not yet been tested with the more recent version - just be prepared for glitches if there are genuine compatibility issues. I'd definitely rerun the whole of your test suite after trying that.
The alternative is to wait a little bit - this is a very fresh release - give other packages a chance to catch up with it.
Deleting Gemfile.lock then running bundle worked for me
I am upgrading to openproject lastest version 6, however while running bundle install, I am getting the following error:
Bundler could not find compatible versions for gem "rails":
In snapshot (Gemfile.lock):
rails (= 4.2.7.1)
In Gemfile:
rails (>= 4.2.7.1, ~> 4.2.7)
health_check was resolved to 1.5.1, which depends on
rails (>= 2.3.0)
openproject-translations was resolved to 6.0.5, which depends on
rails (~> 4.2.3)
prototype-rails was resolved to 4.0.0, which depends on
rails (~> 4.0)
rails-angular-xss was resolved to 0.2.0.pre.pre, which depends on
rails (< 5.1, >= 5.0.0)
rails_autolink (~> 1.1.6) was resolved to 1.1.6, which depends on
rails (> 3.1)
Any help would be appreciated.
Thanks,
Rahul
1- Make sure you specify the correct rails version in Gemfile
2- Remove Gemfile.lock rm Gemfile.lock
3- bundle install
You have dependencies which are incompatible.
openproject-translations was resolved to 6.0.5, which depends on
rails (~> 4.2.3)
This requires rails 4.2.x (where x >= 3)
rails-angular-xss was resolved to 0.2.0.pre.pre, which depends on
rails (< 5.1, >= 5.0.0)
This requires rails 5.0.x (< 5.1, >= 5.0.0 could be simplified to ~> 5.0.0)
Since openproject-translations requires Rails 4 and rails-angular-xss requires Rails 5 there is no way that bundle can resolve them.
You could try a different version (e.g. rolling back a recent change) of one or both of those gems.
Instead of the 0.2.0.pre.pre version of rails-angular-xss, try the latest release 0.1.0 which will work for your current version of Rails.
I'm trying to run an old project but I have problem. I'm using:
Ruby - 1.9.3
Rails - 3.0.20
I'm getting the following error while installing the gems. How do I install these gems?
Resolving dependencies...................................................................................................................
Bundler could not find compatible versions for gem "activesupport":
In Gemfile:
active_form was resolved to 1.0.4, which depends on
activesupport (>= 3.0.0)
active_form was resolved to 1.0.4, which depends on
activesupport (>= 3.0.0)
paper_trail (~> 3.0.1) was resolved to 3.0.9, which depends on
activesupport (< 5.0, >= 3.0)
paperclip was resolved to 4.3.1, which depends on
activesupport (>= 3.2.0)
rails (= 3.0.20) was resolved to 3.0.20, which depends on
activesupport (= 3.0.20)
rails (= 3.0.20) was resolved to 3.0.20, which depends on
activesupport (= 3.0.20)
rails (= 3.0.20) was resolved to 3.0.20, which depends on
activesupport (= 3.0.20)
rails (= 3.0.20) was resolved to 3.0.20, which depends on
activesupport (= 3.0.20)
rails (= 3.0.20) was resolved to 3.0.20, which depends on
activesupport (= 3.0.20)
rspec-rails (~> 2.14.0) was resolved to 2.14.2, which depends on
activesupport (>= 3.0)
If you carefully read the explanation, it's quite clear where the problem is.
paperclip was resolved to 4.3.1, which depends on
activesupport (>= 3.2.0)
This specific gem requires an activesupport version which is at least 3.2, but your project has Rails (and consequently activesupport) freezed at 3.0.20.
You need to use a paperclip version which is compatible with older versions of Rails. Edit your Gemfile and specify an older paperclip version.
You can check the paperclip dependencies on RubyGems and select the proper version.
You should decrease your paperclip gem version.