Can import into AS, but can't use class
Opened this issue · 4 comments
chowaikong commented
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
Sorry I was unable to check on this issue earlier. I hope your problem has been resolved.
chowaikong commented
Not yet.
GianpaMX commented
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
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