如何将来自github的ZIP文件包含到现有的android studio项目中? [英] How to include a ZIP file from github to an existing android studio project?
问题描述
这可能很奇怪,但我从未成功使用android studio将任何zip文件作为模块/库导入到我的项目中。我遵循了许多这样的教程: https:// chmcguir.wordpress.com/2013/09/23/android-studio-importing-library-projects/
It could be weird but I never succeed to import any zip file as a module/library to my project using android studio. I followed many tutorials like this one:https://chmcguir.wordpress.com/2013/09/23/android-studio-importing-library-projects/
但我总是有错误。
所以有人可以解释我如何导入库,作为在github上下载的zip文件(如下所示: https://github.com/chrisbanes/Android-PullToRefresh )?在此先感谢。
So someone can explain me how to import a library, as a zip file downloaded on github ( like this one:https://github.com/chrisbanes/Android-PullToRefresh ) on an android studio project to use it? Thanks in advance.
推荐答案
Github的ZIP只是一个项目。您应该查看将项目添加为库。
The ZIP from Github is nothing but a project. You should look into adding a project as a library.
这篇关于如何将来自github的ZIP文件包含到现有的android studio项目中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!