Ant rebuild library projects every time

I have an Android project that includes two Android library projects.

I use the command ant debugto create a project and it takes about 1 minute and 20 seconds. I calculated that 17 seconds are used to compile the first Android library project and 42 seconds are used to compile the second Android library project.

Since these two dependency projects are rarely updated, there is no need to compile them each time.

How can I avoid ant compiling two Android library projects, each of which is created?

+5
source share
3 answers

dont.do.deps=1 local.properties ( ant )

+7

, Android , , . :

Android , .apk Android. , JAR , . , .

......

  • JAR

    (, JAR). SDK Tools.

ant Android, ?

, , jar. , Eclipse bin , , Java, , , Android. , , , .

Android Android . . .

+2

I had problems with slow compilation of Android when I had libraries in my project, and solved this by applying the "--incremental" switch to the dex tool. See this question on SO .

+1
source

All Articles