etsy / AndroidStaggeredGrid

An Android staggered grid view which supports multiple columns with rows of varying sizes.
https://github.com/etsy/AndroidStaggeredGrid
4.76k stars 1.13k forks source link

Can't import project inside Eclipse and android studio #118

Open bastienvalentin opened 10 years ago

bastienvalentin commented 10 years ago

Hi, I'm currently trying to import your library inside eclipse and I'm facing a pretty annoing issue. Indeed when I'm trying to import the project using gradle 1.11 I'm getting this error : org.gradle.api.internal.MissingMethodException: Could not find method getBootClasspath() for arguments [] on com.android.build.gradle.LibraryExtension_Decorated@63655d7a.

So I tried to use gradle 1.12 and then I'm getting this error : Gradle version 1.10 is required. Current version is 1.12. If using the gradle wrapper, try editing the distributionUrl in eclipse\gradle\wrapper\gradle-wrapper.properties to gradle-1.10-all.zip

I also tried to import it inside Android studio 0.8.0 using 1.11 and still the same result as eclipse.

What should I do ?

Thanks by advance for your answer. Kind regards

alienfractal commented 9 years ago

Did you got a solution to this ?

d9ichen commented 9 years ago

Hello you can try this one, StaggeredGrid. it is based on Eclipse modified from AndroidStaggeredGrid.(In fact, I just add a new activity)