I'm seeing it rebuild everything even if I just change a java file...

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%[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%[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!

-- 
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