I got this error attempting to install and test an Android build from eclipse:
Installation error: INSTALL_FAILED_DEXOPT
And logcat reveals this:
07-02 21:49:44.924: E/dalvikvm(863): Invalid type descriptor: 'Lcom/mypackagename/MyClass;'
So I delete the offending class and comment out the reference to it. Then it builds and installs fine.
Now that class name is forever cursed in this project. Even if I create a trivial subclass of java.lang.Object and give it that class name the error resurfaces.
Wiping and restarting the emulator doesn't help. Cleaning the project and restarting eclipse doesn't help.
How did things get screwed-up this badly, and what can I do to fix it?