Error starting an Android program

后端 未结 3 1813
野趣味
野趣味 2020-12-21 11:27
[2010-04-16 23:31:34 - MobileDataKeeper] Error in an XML file: aborting build.
[2010-04-16 23:31:57 - MobileDataKeeper] Error in an XML file: aborting build.
[2010-04-16          


        
相关标签:
3条回答
  • 2020-12-21 11:38

    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.

    0 讨论(0)
  • 2020-12-21 11:40

    Delete the main.out.xml, if you still can't run, then follow this:
    Eclipse -> Project -> Clean... -> Choose your project -> OK

    0 讨论(0)
  • 2020-12-21 11:51

    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.

    0 讨论(0)
提交回复
热议问题