amulyakhare / TextDrawable

This light-weight library provides images with letter/text like the Gmail app. It extends the Drawable class thus can be used with existing/custom/network ImageView classes. Also included is a fluent interface for creating drawables and a customizable ColorGenerator.
MIT License
3.16k stars 622 forks source link

Can import into AS, but can't use class #9

Open chowaikong opened 9 years ago

chowaikong commented 9 years ago

I did add TextDawerable as library in Android Studio, but somehow I can't use these classes like ColorGenerator, I don't know it's AS's problem or the jar file, or me?

amulyakhare commented 9 years ago

Sorry I was unable to check on this issue earlier. I hope your problem has been resolved.

chowaikong commented 9 years ago

Not yet.

GianpaMX commented 9 years ago

What I did to make it work was invoking ./gradlew :assembleDebug from the command line and it synced correctly the library then Android Studio stopped complaining

fabianchoxD commented 9 years ago

when i try to sync... have an errror:

Error:(12, 0) Gradle DSL method not found: 'compile()'

Possible causes: The project 'TestDrawable' may be using a version of Gradle that does not contain the method. The build file may be missing a Gradle plugin.

How can fix it ?

thnks