And finally I have confirmed that Romain Guy is completely right and
it is an inlining problem.  Java seems to be pretty confident that
"final" really means "final" and in this case it is not really final
if we recompile the generated R classes those final values change!

Anyway the whole thing is a landmine for the unwary app developer...

On Dec 6, 12:12 am, "Mark Murphy" <mmur...@commonsware.com> wrote:
> > There doesn't seem to be an "ant clean".
>
> I've taken to adding the following Ant task to my build.xml files:
>
> <target name="clean">
>     <delete includeemptydirs="true">
>         <fileset dir="bin" includes="**/*"/>
>     </delete>
>     <delete includeemptydirs="true">
>         <fileset dir="gen" includes="**/*"/>
>     </delete>
> </target>
>
> Crude, but effective.
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com
> Android App Developer Books:http://commonsware.com/books.html

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

Reply via email to