Posts

Showing posts from January, 2014

How to import android existing android project (or) non gradle project (or) android example project in android studio

So you have downloaded some sample android project , trying it to import into Android Studio to run it right, however android studio doesn't import so easily, you have make some customization to run it, follow these below steps to import non-gradle project into gradle project First Download any sample project unzip it and copy to our workspace folder Then, go to Android Studio click file --> import project --> select your downloaded folder --> ok Then, make a settings.gradle file and copy this include ':Name of your project' Then, make a local.properties file to include your sdk path, all projects in my android studio link to below sdk path, so edit and change this to your path sdk.dir=/home/umidtech/android-studio/sdk Then,last but not the least make a build.gradle file and copy this buildscript { repositories { mavenCentral() } dependencies { classpath 'com.android.tools.build:gradle:0.7.0' } } apply p