1

I tried to clone a repo from GitHub to Android Studio using "Project from Version Control-> Github" The cloning works, but it ends up with the error shown in following figure and no Java files exist.

Errors Loading Project

enter image description here

Farhad
  • 12,178
  • 5
  • 32
  • 60
Lawrence Loh
  • 233
  • 1
  • 2
  • 9

1 Answers1

1

You should configure your project modules from the repository that has been cloned.

Go to your project setting, choose Dependencies and from the right panel, choose + sign and then Module Dependency.

Then navigate to where you or the android studio have cloned the projects and choose the folders that contain the LuckyDraw-app and app.

Also, I recommend you try to clone the project using the git termianl and then create an android studio project with the Import Existing Android Studio Project wizard.

Farhad
  • 12,178
  • 5
  • 32
  • 60