Skip to content Skip to sidebar Skip to footer

Runtime Error "x + Width Must Be <= Bitmap.width()" On Some Devices

I'm creating a program that essentially creates a menu based on Rects and glyphs. For some reason this code works on the emulator AND my friends phone, but it doesn't work on mine.

Solution 1:

  1. Check the Android versions of your phone and those of your friends.
  2. You should find the line of your code that is causing the error.
  3. Put here not only the error message itself, but the whole stack.
  4. For future, install on Eclipse the Android source codes. So you'll find exactly, where the error happens. It helps much to understand.

Post a Comment for "Runtime Error "x + Width Must Be <= Bitmap.width()" On Some Devices"