android - Crouton depends on libraries but is not a library itself -


i'm using android studio 0.6.1, crouton library , today after gradle sync 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 not library 

that's going on?

this issue due com.android.support-v4 recent update.

so changed

compile 'com.android.support:support-v4:20.+' 

to

compile 'com.android.support:support-v4:19.1.+' 

and crouton works fine

different workaround use @aar:

compile('de.keyboardsurfer.android.widget:crouton:1.8.4@aar') {     exclude group: 'com.google.android', module: 'support-v4' } 

Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -