android ant Compile failed; see the compiler error

android ant 打包遇到 Compile failed; see the compiler error output for details.java

1.把jdk換成jdk1.7 就能看到中文的錯誤信息,否則有的地方是亂碼都看不懂。。。android

2.若是遇到  錯誤: 非法字符: \65279(在eclipse中修改提示有非法字符的java文件的編碼爲:ISO-8859-1 看到java文件的開頭有些亂碼,刪除便可.修改完以後,把文件的編碼改回utf-8保存)其餘問題就看錯誤信息修改吧eclipse

沒錯誤了 用ant打包便可編碼

相關文章
相關標籤/搜索