Android - The active editor does not contain a main type.

When you try to run you Android app in Eclipse using the keyboard shortcuts and you face the "The active editor does not contain a main type" error then simply go ahead and uninstall Android ADT form Eclipse (About / Installation Details, uninstall Android Development Tools), then re-install it from the original source (https://dl-ssl.google.com/android/eclipse/). All other settings, like run configuration and source location, did not help me.

Comments

Popular posts from this blog

MurMurHash3, an ultra fast hash algorithm for C# / .NET

Removing Malware and Bloatware from Lenovo K3 Note (K50-T5)

Quick select algorithm - find the Kth element in a list in linear time