如何将现有的项目从github导入到Android Studio中

如何将现有的项目从github导入到Android Studio中

问题描述:

我刚刚将Github的EdgeEffectOverride项目导入到Android Studio中。这是屏幕截图

I've just imported EdgeEffectOverride project from Github into Android Studio. This is the screen shot

运行项目时,出现错误:运行构建错误:模块'EdgeEffectOverride-master'不支持gradle

When I run the project, I get the error: Error running build: Module 'EdgeEffectOverride-master' is not backed by gradle.

您可以直接将github项目导入到Android Studio中。
文件 - >新建 - >版本控制项目 - > GitHub。然后输入您的github用户名和密码。选择存储库并点击克隆。

You can directly import github projects into Android Studio. File -> New -> Project from Version Control -> GitHub. Then enter your github username and password.Select the repository and hit clone.

github repo将作为android studio中的新项目创建。

The github repo will be created as a new project in android studio.