Skip to content Skip to sidebar Skip to footer

Classnotfoundexception When Starting App - Unable To Instantiate Application

Long story cut short - I have an app that has been around for about 4 years now with a smallish user base (around 500 devices). It was originally developed on a Win XP machine but

Solution 1:

I have observed this error previously in the following cases:

1. I was using a physical device (i.e. not an emulator) that had Kitkat with ART enabled. When I ran the app on another Kitkat device with Dalvik runtime, the error seemed to have vanished.

2. The same problem arose due to a .dex build error which occurred when I shifted the SVN to another location. I deleted the old project entirely and created a new repository from the original project on my computer, and after rebuilding the project entirely the error did not reappear.

3. If using Eclipse with Maven, and you have enabled multidex, then try disabling it and building the project. If using Android Studio, set multiDexEnabled = false. This is a known cause of this error.

Post a Comment for "Classnotfoundexception When Starting App - Unable To Instantiate Application"