conflicting-libraries

Facebook SDK dependency conflict

戏子无情 提交于 2019-11-28 09:09:15
I am having this error: On getting dependency tree, I found that there is nothing wrong with animated vector drawables but facebook's latest sdk has previous version of support-v4 custom tab. I tried excluding with exclude group command but its not working. Here is my dependency tree: +--- com.facebook.android:facebook-android-sdk:4.26.0@aar | +--- com.android.support:support-v4:26.0.1@aar | | +--- com.android.support:support-compat:26.0.1@aar | | | \--- com.android.support:support-annotations:26.0.1@jar | | +--- com.android.support:support-media-compat:26.0.1@aar | | | +--- com.android

Maven set dependency mediation strategy to newest rather than nearest

流过昼夜 提交于 2019-11-27 17:57:48
问题 Can I configure Maven to choose the "newest" dependency on a conflict, rather than the "nearest"? The "newest" is the default in Ivy and other sensible dependency managers, see http://ant.apache.org/ivy/history/2.2.0/settings/conflict-managers.html I find the "nearest" strategy is rarely what I want. I'm using Maven 3.3.3, but I can switch versions if necessary. I know how to override Maven's choice on individual conflicts, but I'd prefer to change the default so that I don't have to detect

Material Design Lite and jQuery, smooth scroll not working

笑着哭i 提交于 2019-11-27 16:57:20
问题 I am unable to use .animate method of jQuery with Google's Material Design Lite(MDL). I have used MDL to make navigation bar, but smooth scrolling was not working. Simple jQuery code is this: $(function(){ $('a.smooth').click(function(){ console.log("SMOOTH BEGIN"); var speed = 1000; var href= $(this).attr("href"); var target = $(href == "#" || href == "" ? 'html' : href); var position = target.offset().top; $("html, body").animate({scrollTop:position}, speed, "swing"); console.log("SMOOTH

Facebook SDK dependency conflict

穿精又带淫゛_ 提交于 2019-11-27 15:55:53
问题 I am having this error: On getting dependency tree, I found that there is nothing wrong with animated vector drawables but facebook's latest sdk has previous version of support-v4 custom tab. I tried excluding with exclude group command but its not working. Here is my dependency tree: +--- com.facebook.android:facebook-android-sdk:4.26.0@aar | +--- com.android.support:support-v4:26.0.1@aar | | +--- com.android.support:support-compat:26.0.1@aar | | | \--- com.android.support:support

Skipping Incompatible Libraries at compile

蓝咒 提交于 2019-11-27 03:43:00
When I try to compile a copy of my project on my local machine, I get an error stating that it 's skipping over incompatible libraries. This isn't the case when I'm messing around with the live version hosted on the server at work [it makes perfectly there]. Various other sites have lead me to believe that this might be an environment issue, as I'm developing on a 64-bit distro of Ubuntu and I assume the server version is running on 32-bit. Nevertheless, after setting my environment variables to: CFLAGS+=" -m32" CXXFLAGS+=" -m32" I still receive the same compile error of: /usr/bin/ld: skipping

dplyr: “Error in n(): function should not be called directly”

a 夏天 提交于 2019-11-26 11:21:43
I am attempting to reproduce one of the examples in the dplyr package but this error message. I am expecting to see a new column n produced with the frequency of each combination. Can someone tell me what I am missing? I triple checked that the package is loaded. Thanks for the help, as always. library(dplyr) # summarise peels off a single layer of grouping by_vs_am <- group_by(mtcars, vs, am) by_vs <- summarise(by_vs_am, n = n()) Error in n() : This function should not be called directly mnel I presume you have dplyr and plyr loaded in the same session. dplyr is not plyr . ddply is not a