如何正确导入项目到Android工作室? [英] How do I properly import a project to Android Studio?
问题描述
我如何正确地从github上导入项目到Android工作室?
当我试图导入从GitHub项目是一岁左右,我会得到错误,而不是有功能性项目。
https://github.com/baseball435/SpaceInvaders
如果我输入上面的项目,
我得到这个消息:
另外,我得到一个尴尬的结构:
要导入的Android Studio中,选择文件>导入,然后选择包含项目导入目录。一个向导将打开,引导您完成导入过程的其余部分。当项目导入完成后,它会打开一个名为进口的summary.txt文件,该文件列出了所有的进口和建议,为接下来的步骤中所采取的步骤。例如,它可能会注意到,未迁移的文件,它可以注意到在SDK安装缺失的组件,等等。
块引用>How do I properly import a project to Android Studio from github? When I attempt to import the projects from github that is about a year old, I would get errors, and not have a functional project.
https://github.com/baseball435/SpaceInvaders
If I import the project above, I get this message:
In addition, I get an awkward structure :
解决方案To import into Android Studio, select File > Import, and then select the directory containing the project to import. A wizard will open and guide you through the rest of the import process. When the project import has finished, it will open up a file called "import-summary.txt" which lists all the steps taken during import and suggestions for next steps. For example, it may note files that were not migrated, it may note missing components in your SDK install, and so on.
这篇关于如何正确导入项目到Android工作室?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!