Android Studio - Pulling a Project from GitHub

Gregory Kielian · 30K views · 2015 · 2:20

Open on YouTube

Testing, debugging & developer toolsSoftware practice, open source & careerstutorialdated

Why Stack Overflow recommends it

Stack Overflow users link it when someone needs to get a GitHub-hosted Android project open and running in Android Studio.

Recommended by 2 people across 2 different months, 2016 to 2018.

What it is

A short 2015 screencast by Gregory Kielian showing how to pull an existing project from GitHub into Android Studio. It is a quick step-by-step walkthrough of the import process.

What people said

Recommends Mark · 2016-03 · Stack Overflow · on “Gradle error when using Google's latest API”

Your errors are caused because the import statements are referring to the project files from the Github sample. com.google.android.gms.samples.vision.barcodereader.ui.camera.CameraSource; etc. all refer to files from the sample, which are not present in your project. When you import something, it follows the path down to the file name, so it's currently trying to find the file CameraSource by making its way down through the folders listed before it. These are specific to Android projects so you should copy any of the files needed from the sample project and recreate them in your own project. Once you have them created, you can import these instead of the sample ones (i.e replace com.google.a

Recommends Dharmik Raval · 2018-06 · Stack Overflow · on “How to run Github android code if it don't have Apk file”

what?? you can open the file using open file option easily. Are you getting any kind of error ? just try to open unzipped file which is showing like just only gradle file. after you just follow the steps as above my answer. Also try this video: [this video]

Cites Android Dev · 2017-02 · Stack Overflow · on “How to import github project into Android Studio?”

I tried to import github project into Android Studio by this [this video] . But this gives error, it is not suitable for this project . Here is the Github Project [LINK] . How can I import this project into Android Studio 2.1.2?