Most Android Developers would agree that during Android Development, we tend to face errors and exceptions of all types, all shapes, and sizes. Some of the errors are pretty much self-explanatory while others are basically very confusing especially Gradle errors (My opinion though :)). So here’s the list of common Android Exceptions along with links that describe them and talks about the common solutions.
Common Android Exceptions
- java.lang.RuntimeException: Can’t create handler inside thread that has not called Looper.prepare()
- java.lang.NullPointerException
The post would be regularly updated with more errors and exceptions.
Related posts:
[SOLVED] Cannot fit requested classes in a single dex file. Try supplying a main-dex list. # methods...
How to Increase the speed of your BlackBerry Mobile
[SOLUTION] android.content.res.Resources$NotFoundException: String resource ID #0x1 in setText()
[SOLUTION] Unable to add window -- token is not valid; is your activity running? android
4 Comments