Tag: exception
-
The Exception Unable to instantiate activity ComponentInfo
If you have this error “Unable to instantiate activity ComponentInfo” in the LogCat of Android just you launch your app, first you have to check the file AndroidManifest.xml especially the code lines package=”[your package]” it is an attribute of the tag manifest and you insert a unique name for your app in java package style,…
-
The android.os.NetworkOnMainThreadException exception
In this article I explain a possible cause of android.os.NetworkOnMainThreadException and how to avoid it. From the Android site you can read: NetworkOnMainThreadException The exception that is thrown when an application attempts to perform a networking operation on its main thread. This is only thrown for applications targeting the Honeycomb SDK or higher…