Raptor
Raptor

Reputation: 54212

Android SDK : main.out.xml?

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.

Upvotes: 2

Views: 2539

Answers (2)

user1540256
user1540256

Reputation: 160

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

Upvotes: 0

KV Prajapati
KV Prajapati

Reputation: 94645

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?

Upvotes: 5

Related Questions