Posts

Showing posts with the label import project to android studio

Color picker Example android

Here is an Example I have written  when I faced the  problems importing github project  into my android project. all u need to do is this, 1.  download project as zip file and extract the zip. 2.  Inside Extracted folder you'll see library folder. 3.  Copy that folder into your android Applications main folder where it contains all its gradle n all...  4.  open bulid.gradle(Module:app) inside that add dependencies like this, "compile project(':library')" 5.   update Settings.Gradle with include ':app', ':library' 6.  go to Tools>Android>Sync with Gradles and then it will show some error like build gradle not matching bla bla.... 7.  In your bulid.gradle(Module:liabrary) change  "compileSdkVersion,  buildToolsVersion, minSdkVersion, targetSdkVersion, versionCode , versionName " to as same as in your bulid.gradle(Module:app) . 8.Bingooo....Its Done...!!! In Below example I've added a color picker l...