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

cannot import the project #114

Open rabyunghwa opened 10 years ago

rabyunghwa commented 10 years ago

When I add compile 'com.etsy.android.grid:library:1.0.5', it says unresolved dependencies. Please help me. I really want to import this library.

noni-mizu commented 10 years ago

If you are installing into Eclipse, you are likely coming across support_v4 conflicts, as the later versions of Eclipse force you to always have the apcompat_v7 library installed, which actually already has a support_v4 in it. So if there are any support libraries in the AndroidStaggeredGrid, they will conflict. Just need to remove the extra one.

fanno commented 9 years ago

I am unsure where to find the guide to install in eclipse.. i can import the project. and i have to change it to a liberty ...

and then what ? it is not showing up

I have it working by manually importing everything in to my own project... however i am experience a strange behavior.

also i tried buiding with gradle (tho i dont know if i am doing it right))


fanno@fanno-Dell-System-XPS-L702X:~/workspace/lib/android/AndroidStaggeredGrid-master/library$ gradle

FAILURE: Build failed with an exception.

BUILD FAILED

Total time: 3.008 secs

-Thanks

mygreymatter commented 9 years ago

Hi, When I added the library dependency 'com.etsy.android.grid:library:1.0.5', and ran the gradle, then the following error occurred:

Failed to resolve: com.etsy.android.grid:library:1.0.5

NOTE: The maven repository is added to build.gradle in the app repositories { mavenCentral() }