Error Starting An Android Program
Solution 1:
Delete all main.xml.out
files in your project. Then, do NOT attempt to run the project with an XML file as the active tab in the editor in Eclipse -- switch to a Java file. It is the attempt to run the project with an XML file as the active tab that creates those .out
files and messes up the system.
There's probably a more sophisticated workaround, but I am not an Eclipse user, so I do not know what it is.
Solution 2:
This was killing me. Heres a fix that does not require you to switch editors:
Eclipse -> Window -> Preferences -> Run/Debug -> Launching -> Launch Operation -> Always Launch the previously launched application
Of course delete the xml out files that were created as suggested, and make sure you have at least run the correct configuration at least once.
Solution 3:
Delete the main.out.xml, if you still can't run, then follow this: Eclipse -> Project -> Clean... -> Choose your project -> OK
Post a Comment for "Error Starting An Android Program"