Will this be changed?  Once you reach a certain size, the build time
because unberable.  For my app, it takes about 30 seconds to do a
resource compilation on a fast Dell Studio XPS 16 laptop.  I think
there is a "magic" size as it was working fine one day and then it
became slow the next, so it wasn't a gradual process.  Or it may have
happened with the installation of a newer version of the SDK/tools,
don't recall.  All I remember is that I was started having problems
and ever since it's been slow.  Turning the verbose option on, show
the compilation to pause at a given point in the list of files before
continuing.  The file itself doesn't matter, if I remove it, the pause
just happens on the next file in the list.

On Aug 24, 8:25 pm, Xavier Ducrohet <[email protected]> wrote:
> The problem is that the resource compilation/packaging does not
> support building incremental.
>
> Changing a resource will force a new compilation of the full resources
> which means a new R.java which means a new compilation, which means
> building a new classes.dex
> Additionnally, it'll package the whole resources (into binary files)
> and then will repackage it all into an apk.
>
> If you don't change the resources, for example editing a java file,
> then it should only recreate classes.dex (after java compilation) and
> repackage the apk with the already compiled resources.
>
> Xav
>
>
>
>
>
> On Tue, Aug 24, 2010 at 6:14 PM, sdphil <[email protected]> wrote:
> > i think you get that behavior if you set it up to build
> > automatically.  i'm not particularly fond of that because it seems to
> > make my editing much slower.  however, if I could get incremental
> > building, maybe I would turn it back on...
>
> > On Aug 24, 6:00 pm, Chris Stewart <[email protected]> wrote:
> >> That's interesting.  I find that I never wait on it since it's always
> >> happening behind the scenes as I make changes.
>
> >> --
> >> Chris Stewarthttp://chriswstewart.com
>
> >> Fantasy 
> >> Football<http://chriswstewart.com/android-applications/fantasy-football/>-
> >> Android app for MFL fantasy football owners
> >> Fantasy Football
> >> Insider<http://chriswstewart.com/android-applications/fantasy-football-insider/>-
> >> Android app for all fantasy football fanatics
> >> Social 
> >> Updater<http://chriswstewart.com/android-applications/social-updater/>-
> >> An easy way to send your status blast to multiple social networks
>
> >> On Tue, Aug 24, 2010 at 8:57 PM, Miguel Morales 
> >> <[email protected]>wrote:
>
> >> > Try turning auto-build off.
>
> >> > On Tue, Aug 24, 2010 at 5:56 PM, sdphil <[email protected]>
> >> > wrote:
> >> > > Is it because it's rebuilding it every time?
>
> >> > > In eclipse, I went into window -> preferences -> Android -> Build
>
> >> > > And turned on Build output -> Verbose on.
>
> >> > > And it looks like it's rebuilding my entire app every time I make any
> >> > > little change.
>
> >> > > I assume it should only be doing incremental builds for minor changes?
>
> >> > > Any ideas on what I'm doing wrong or how to make it do this behavior?
> >> > > These build times are killing me! :-)
>
> >> > > tia.
>
> >> > > --
> >> > > You received this message because you are subscribed to the Google
> >> > > Groups "Android Developers" group.
> >> > > To post to this group, send email to 
> >> > > [email protected]
> >> > > To unsubscribe from this group, send email to
> >> > > [email protected]<android-developers%2bunsubs­[email protected]>
> >> > > For more options, visit this group at
> >> > >http://groups.google.com/group/android-developers?hl=en
>
> >> > --
> >> >http://developingthedream.blogspot.com/,
> >> >http://diastrofunk.com,
> >> >http://www.youtube.com/user/revoltingx, ~Isaiah 55:8-9
>
> >> > --
> >> > You received this message because you are subscribed to the Google
> >> > Groups "Android Developers" group.
> >> > To post to this group, send email to [email protected]
> >> > To unsubscribe from this group, send email to
> >> > [email protected]<android-developers%2bunsubs­[email protected]>
> >> > For more options, visit this group at
> >> >http://groups.google.com/group/android-developers?hl=en
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> Xavier Ducrohet
> Android SDK Tech Lead
> Google Inc.
>
> Please do not send me questions directly. Thanks!- Hide quoted text -
>
> - Show quoted text -

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to