Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #2622

Re: Android Build Quirks

From Dirk Bruere at NeoPax <dirk.bruere@gmail.com>
Newsgroups comp.lang.java.programmer
Subject Re: Android Build Quirks
Date 2011-03-31 02:54 +0100
Organization Dirk Bruere at Neopax
Message-ID <8vi55kFicsU1@mid.individual.net> (permalink)
References <imh76i$lgp$1@lust.ihug.co.nz>

Show all headers | View raw


On 25/03/2011 04:54, Lawrence D'Oliveiro wrote:
> Every time I add a new resource to an Android project (layout, string etc),
> it seems to misbehave and invoke the wrong resources. After I do an ant
> clean and rebuild and reinstall, it works fine.
>
> I think what’s happening is that compiled classes are being included that
> were built against the old version of R.java. What should happen if
> resources change, is that R.java should be the the first thing regenerated,
> before any Java source files are compiled. That will then trigger the
> recompiling of all the necessary sources.

There are oddities.
And the emulator is not to be trusted 100%, esp not with networking 
stuff. I have spent days trying to find a bug that wasn't there when the 
s/w was debugged on a real machine

-- 
Dirk

http://www.neopax.com/technomage/ - My new book - Magick and Technology

Back to comp.lang.java.programmer | Previous | NextNext in thread | Find similar


Thread

Re: Android Build Quirks Dirk Bruere at NeoPax <dirk.bruere@gmail.com> - 2011-03-31 02:54 +0100
  Re: Android Build Quirks Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-03-31 16:03 +1300
    Re: Android Build Quirks Dirk Bruere at NeoPax <dirk.bruere@gmail.com> - 2011-04-02 14:46 +0100

csiph-web