android sdk main.out.xml parsing error?

后端 未结 17 2025
别跟我提以往
别跟我提以往 2020-12-02 09:31

I just started a new Android project, \"WeekendStudy\" to continue learning Android development and I got stumped compiling the default \'hello weekendstudy\' compile / run.

相关标签:
17条回答
  • 2020-12-02 10:11

    As stated in How to stop Eclipse from trying to run XML files?: Under Preferences -> Run/Debug -> Launching, you can select "Always launch the previously launched application". This is useful if you tend to use the Ctrl+F11 shortcut.

    0 讨论(0)
  • 2020-12-02 10:14

    Eclipse ->Project->Clean...restart your project ,and that's ok

    0 讨论(0)
  • 2020-12-02 10:15

    Better fixing: Eclipse -> Window -> Preferences -> Run/Debug -> Launching -> Lauch Configuration

    Cross : Filter checked launch configuration types and Cross also : XSL (at the end of the list)

    Make the problem go away Forever !

    0 讨论(0)
  • 2020-12-02 10:17

    I am new in Android app development learning. I encountered this problem too and got frustrated. Uninstall whole Android SDK and reinstall, thinking in mind that there was some problem.

    To my surprise, solution is very simple. If you leave the mouse click over xml file and go to Run it will generate error. So the solution is simple. Click on .java file or Top of the whole tree (example: if the structure is like this: Firstapp>Src>Firstapp.java, just click on Firstapp) and then run.

    It will run smoothly.

    0 讨论(0)
  • 2020-12-02 10:20

    Deleted the xxx.out.xml, if still can't run, please follow this Eclipse ->Project->Clean...->Choose your project->OK

    Set the cursor in your *.java, Run it

    0 讨论(0)
  • 2020-12-02 10:21

    @neil patel > Just restating the answer above ... let me know if it needs to be clarified.

    Right-click on one of the *.java files and select 'run as...' then you can create a run configuration with its target (pick or create an AVD), the project, etc. I recommend visiting each of the tabs and review the defaults for your situation.

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