2

Sometimes Android SDK compiling Project will generate an empty layout XML named main.out.xml, which makes compile failed.

The file has to be deleted before compiling again. Why will it appear? and how to avoid it?

My IDE is Eclipse with ADT.

Raptor
  • 53,206
  • 45
  • 230
  • 366

2 Answers2

5

It was reported as a bug. There might an issue with xml plug-ins or something. I've always deleted the xxxx.out.xml file. Take a look at SO threads:

  1. Eclipse - Disabling compiling of XML files while in Java perspective
  2. android sdk main.out.xml parsing error?
Community
  • 1
  • 1
KV Prajapati
  • 93,659
  • 19
  • 148
  • 186
0

Simply open any of the .java file in the src directory. Simply click on it an hit run

user1540256
  • 151
  • 2
  • 3
  • 1
    When an answer has a green check to the left of it, this answer was accepted as the solution. No need to answer unless you can add a new of solving the problem. – fancyPants Oct 01 '12 at 13:14