I'm using Android Studio 0.6.1, with Crouton library and today after gradle sync I got next error:
Error:A problem occurred configuring root project 'project_name'.
Module version de.keyboardsurfer.android.widget:crouton:1.8.4 depends on libraries but is not a library itself
That's going on?
My solution according to @Revedko answer, using @aar and change all supports to version lower than 21 -> 20.+
This issue due to com.android.support-v4 recent update.
So I changed
to
and crouton works fine
Different workaround is to use @aar: