android - Eclipse gradle plugin works, but library classes are not recognized -
after days , days of hard work, have android project without errors in eclipse.
i used build.gradle. now, can add library in file writing "compile 'com.somelib.version'.
now, can type 'gradle clean' , 'gradle build'. these commands don't show errors. so, think project added dependencies correctly. add gson, or different library gradle, how can use it?
eclipse give eror if type 'import com.google.gson' (in example). so, maybe forgot step before having dependencies working?
you may want run these gradle commands:
cleaneclipseclasspath eclipseclasspath
this worked me when had issue.
Comments
Post a Comment