Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I open open-source projects in Android Studio?

I'm very new to Android programming, and I wanted to try learning by example. I found this open source project on Github: https://github.com/android/platform_packages_apps_contacts

I was hoping to open this in Android Studio so I could modify certain elements and see the result by running it, eventually learning how the process works as a whole. The problem is when I download the zip file and try to open the folder inside with Android Studio, nothing shows up. Any help would be appreciated!

like image 627
Paymon Wang-Lotfi Avatar asked Jan 09 '23 20:01

Paymon Wang-Lotfi


2 Answers

In Android Studio, close all open projects until you get the "Welcome to Android Studio" screen. Choose "Check out project from Version Control", and in the popup, choose "GitHub". Screenshot:

enter image description here

Follow the UI from there.

like image 126
Scott Barta Avatar answered Jan 17 '23 15:01

Scott Barta


Try to checkout it directly into Android Studio, VCS->Checkout from version Control->Git

like image 43
DoubleK Avatar answered Jan 17 '23 16:01

DoubleK