简体   繁体   English

将 Github 中的项目添加到 AndroidStudio

[英]Add Project from Github to AndroidStudio

I know there are a lot of answers about this topic but I can't find my problem.我知道关于这个话题有很多答案,但我找不到我的问题。

So my problem is I'm working with a friend on an AndroidStudio Project.所以我的问题是我正在和一个朋友一起做一个 AndroidStudio 项目。 He made the repository and also made some commits yet.他创建了存储库并且还进行了一些提交。 So now I want to add the Project into Android Studio.所以现在我想将项目添加到 Android Studio 中。

The steps how I do that:我如何做到这一点的步骤:

Start android > Check out project from Version Control > Git > Then I put in the URL from git > Clone > Then I'm getting a popup "Would you like to create an Android Studio Project" > Yes > Then another Popup > Choose Import project from external model then Android Gradle > Finish Start android > Check out project from Version Control > Git > Then I put in the URL from git > Clone > Then I'm getting a popup "Would you like to create an Android Studio Project" > Yes > Then another Popup > Choose Import项目从外部 model 然后 Android Gradle > Finish

And then Android Studio open a window.然后Android Studio开一个window。 The problem is in this window are just.gradle.idea gradle but there is no folder for the source code.问题出在这个 window 只是。gradle.idea gradle 但没有源代码的文件夹。

Hope you understand my problem and you can help me.希望你能理解我的问题,并能帮助我。

If you have a clone link to the project, follow these steps:如果您有项目的克隆链接,请按照下列步骤操作:

file -> New -> Project from Version Control.

but before following these steps you have to enable your VCS and Configure git.但在执行这些步骤之前,您必须启用您的 VCS 并配置 git。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM