问题
I am trying to add a simple library like json.org to my libgdx project. The dependencies were properly configured in the gradle file. The project is not compiling any longer. I think the problem is because the GWT compiler is not able to find the source code. Did this happen to someone else before? Any possible solution? Thanks.
回答1:
What errors are you getting ?
Try to issue the command from the command line:
gradlew --refresh-dependencies
Got this one from the Universal Tween Engine installation page, probably can help your case. From the page text:
And most importantly you now need to refresh your project dependencies through your IDE or by running the following command from your project directory:
来源:https://stackoverflow.com/questions/26340456/how-to-add-external-library-dependency-to-libgdx-project