问题
I am trying to use this library [1] in an Android project with a fresh installation of ADT. I just don't know what to do. The library seems to use some VCS and something called gradle (a build tool so it seems).
Could someone please tell me what steps are neccessary to integrate that library into an own android project using a fresh install of ADT!
Thank you very much!
[1] https://github.com/googlemaps/android-maps-utils
回答1:
First of all, download it to your computer. If you don't use git, just press Download ZIP in the bottom right corner.
Then you have some options (from the easist):
- Copy res and src folders from the library folder directly to your project. This should be ok as long as you keep the license info.
- Copy some
project.properties
intolibrary
folder. Now the library project will be importable in Eclipse. - Use Android Studio, which has support for Gradle.
来源:https://stackoverflow.com/questions/17796464/using-android-maps-utils-with-adt