[android-developers] Re: Layout is corrupted with graphics from another layout? Only at runtime, only on a certain device.
Good suggestion, but the build works perfectly on all devices but the 2.2 HTC. If it occurs and the layout is corrupted, I can make the problem go away by rebooting the phone. Sounds like some sort of memory corruption that Android is sensitive to.
On Tuesday, October 9, 2012 11:36:04 AM UTC-4, Piren wrote:
--I've had it happen to me a lot of times, but as a packaging error (resources got packages incorrectly into the apk). but the issues were very broad and obvious and manifested on all of my devices.Try a clean build of the app and see if it re-appears.
On Tuesday, October 9, 2012 12:34:51 PM UTC+2, NickL wrote:I have never seen this before, and have been developing apps for 2 years+. I wrote a layout, ran it on an old handset (HTC Android 2.2), and one of the dialogs (android.Theme.Dialog) has graphics in it from a different layout. The other layout is not a dialog. Not that that probably matters.In eclipse, this does not happen. On a tablet (4.0.3) and a Motorola (2.3) this never occurs (yet). I thought this might have happened because I uploaded a debug version over a bad cable, and maybe got a bad copy. But then I de-installed it and loaded it from the Google Play market, and it occurs only some of the time. I have even tried modifying that layout and re-installing. Still occurs infrequently. Could it be a memory problem?Has anyone seen this occur? How to prevent it?
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home