have you customized the ant script? This shouldn't do that, but we haven't touched the Ant script in a long time.
On Wed, Feb 26, 2014 at 7:44 PM, pps <[email protected]> wrote: > Can anybody from android tools comment? It looks like ant always rebuilds > aidl files no matter what. Should I report a bug, how can I troubleshoot > it?.. > I looks like I posted that issue a while ago and didn't have any replies > back then.<https://groups.google.com/d/msg/adt-dev/3Z5VIV7oAFM/GOWx04yV9UUJ> > > I tried ant verbose, but there is no indication. It simply rebuilds AIDL > files. > > > > On Wednesday, February 19, 2014 12:51:04 AM UTC-5, pps wrote: >> >> I use: >> Apache Ant(TM) version 1.9.3 compiled on December 23 2013 >> [checkenv] Android SDK Tools Revision 22.3.0 >> [getbuildtools] Using latest Build Tools: 19.0.1 >> [gettarget] Project Target: Android 4.3 >> [gettarget] API level: 18 >> >> If I do clean build using "ant release" it takes 3 minutes. If right >> after that I try to run "ant release" again then it takes at least 30 >> seconds. >> >> What I see is that AIDLs are always recompiled. >> >> -code-gen: >> [mergemanifest] Found Deleted Target File >> [mergemanifest] Merging AndroidManifest files into one. >> [mergemanifest] No libraries. Using project manifest only. >> [echo] Handling aidl files... >> [aidl] Found 89 AIDL files. >> [aidl] Compiling 89 AIDL files. >> >> SomeFile.aidl results in these two files: SomeFile.java and >> SomeFile.java.d. Dependencies in SomeFile.java.d are ok, I manually checked >> timestamps and I see that whenever I run "ant release" aidl step needlessly >> updates the two output files. >> >> Then, similarly it looks that aapt always runs: >> >> [echo] Handling Resources... >> Property "android.library" has not been set >> [aapt] Found Deleted Target File >> [aapt] Generating resource IDs... >> >> I went to build.xml and temporarily commented out <aidl and <aapt rules. >> "ant release" blocks on `-dex step: http://pastie.org/8747572 >> >> I see that there is also classes.dex.d but it looks like it's not checked >> (just like aidl step for example). >> >> >> So. How can I fix these extremely annoying bugs? >> thanks >> >> >> -- > You received this message because you are subscribed to the Google Groups > "adt-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- Xavier Ducrohet Android SDK Tech Lead Google Inc. http://developer.android.com | http://tools.android.com Please do not send me questions directly. Thanks! -- You received this message because you are subscribed to the Google Groups "adt-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
