I've got a real head-scratcher here, folks. At least it is for me. Quite recently (last couple of days?), I've begun to see the following error in my Console:
FATAL EXCEPTION: main java.lang.NoClassDefFoundError: android.graphic3.Bitmap$CompressFormat and the line that's throwing it looks like this: bitmap.compress(CompressFormat.PNG, 100, fos); where "bitmap" is, not surprisingly, and ordinary Bitmap, and "fos" was declared like this: FileOutputStream fos = new FileOutputStream(filename); Now, this Bitmap.compress() call has been working fine, without modification, for a year and a half. Given it's writing to the filesystem, I could imagine it might be an IO error of some sort - except that I'm trapping IOException already, and of course, the error thrown is NoClassDefFoundError. So I'm stumped. It looks like the system is suddenly unable to find either CompressFormat or CompressFormat.PNG, but that doesn't make any sense at all. Any ideas? String -- 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