Import from github to android studio

Ishaan Kumar picture Ishaan Kumar · Mar 30, 2017 · Viewed 10.4k times · Source

Hey I am trying to build an android application regarding google adsense. I want to import the android sample. https://github.com/Ishaan-Kumar/googleads-adsense-examples

Since I am only interested in android I want to import only this. https://github.com/Ishaan-Kumar/googleads-adsense-examples/tree/master/android

I tried to import via VCS in android studio by url https://github.com/Ishaan-Kumar/googleads-adsense-examples.git

But it imported the whole project including all the platforms(PHP,dontnet,ruby). The thing is I want the android only plus the android files are not detected (I think there is not gradle file in here)

How do I overcome this problem?

Answer

HamidReza Heydari picture HamidReza Heydari · Mar 30, 2017

Often programmers explain that in there Git Page, some time don't explain. like it

Many way to import Github project into your android studio project like this ways

  1. use zip git file Like this Step Answer [here]

  2. use clone or git in android studio See this

  3. use JitPack site for better performance and jump filters can help you

But

some programmers in Github don't like customizing them project

they try to damage files or redirecting for block modify