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


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

Re: Android Build Quirks

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.dougwise.org!news-transit.tcx.org.uk!news.netcologne.de!newsfeed-fusi2.netcologne.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Dirk Bruere at NeoPax <dirk.bruere@gmail.com>
Newsgroups comp.lang.java.programmer
Subject Re: Android Build Quirks
Date Thu, 31 Mar 2011 02:54:00 +0100
Organization Dirk Bruere at Neopax
Lines 20
Message-ID <8vi55kFicsU1@mid.individual.net> (permalink)
References <imh76i$lgp$1@lust.ihug.co.nz>
Reply-To dirk.bruere@gmail.com
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 8bit
X-Trace individual.net 62fgph2HAGhbJ5ZApjTA/AFL9asgunLR0waS1q7PKg1BJaf5gj
Cancel-Lock sha1:jgGj8kEKXLBcvdeohQOFoTInUF4=
User-Agent Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9
In-Reply-To <imh76i$lgp$1@lust.ihug.co.nz>
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:2622

Show key headers only | 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