TextDrawable icon indicating copy to clipboard operation
TextDrawable copied to clipboard

Can import into AS, but can't use class

Open chowaikong opened this issue 10 years ago • 4 comments

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?

chowaikong avatar Jan 07 '15 01:01 chowaikong

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

amulyakhare avatar Jan 20 '15 04:01 amulyakhare

Not yet.

chowaikong avatar Jan 21 '15 08:01 chowaikong

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

GianpaMX avatar Sep 15 '15 00:09 GianpaMX

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

fabianchoxD avatar Oct 02 '15 06:10 fabianchoxD