1.I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
res\layout\main.xml.bak:0: error: Resource entry main is already defined.
res\layout\main.xml:0: Originally defined here.
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-
sdk-version, 7, --target-sdk-version, 16, -F, C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp
\APKTOOL2289568041965950246.tmp, -0, arsc, -I, C:\Documents and Settings\Adminis
trator\apktool\framework\1.apk, -S, D:\apktool\com.hg.toal_1000004\res, -M, D:\a
出现红色异常 没有把layout文件夹下多出来的main.xml.bak删掉
删掉后重新编译即可