How to include dependencies in build.gradle file under android app folder

Following example adds volley.jar, google play services, facebook android sdk, commons codec and others as dependencies in compile files in build.gradle file

In build.gradle file add below code as shown below,

dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) compile files('libs/volley.jar') compile files('libs/json-simple-1.1.1.jar') compile files('libs/httpmime-4.3.6.jar') compile files('libs/commons-codec-1.10.jar') compile files('libs/cos.jar') compile '' compile '' compile '' compile '' }
Sign In or Register to comment.