Skip to content
Aige edited this page Dec 16, 2015 · 3 revisions

Choice A:Compile from maven center

compile 'cn.aigestudio.downloader:Downloader:1.4.3'

Choice B:Imoprt .aar

Download aar from:Downloader-1.4.3.aar


Choice C:Import Module

Step 1

Import moudle Downloader in your project

Step 2

Add something like below in your settings.gradle file of project:

include ':Downloader'

Notably, in some version of gradle you need to add module with comma-separated:

include ':YourMoudle',':Downloader'

click the "sycn now" when it appear on the top-right of IDE window

Step 3

Add something like below in the dependencies in your build.gradle file of application module:

compile project(':Downloader')