1、問題:出現一個unknown的錯誤:Unparsed aapt enrror(s)! Check the console for output
type:Android Packaging Problem
解決: project->clean清除一下就ok了
2、新建android項目時沒有gen,後所有項目都沒有gen了
解決:在Properties->Java Build Path ->Source中依次爲src、gen將src down變爲gen、src,然後再project->clean,其他項目的gen恢復了。
但是新建的仍然沒有,右鍵bulid path修改src和gen的位置。
如果還不行,拷貝R.java文件過來修改即可
3、由於拷貝實例代碼把自己的項目覆蓋了,運行時出現錯誤:ActivityManager: Warning: Activity not started, its current task has been brought to the front
解決:同問題2,configure bulid path
如果問題還不解決,可能是對應的目標版本不對,選擇properties選項->android配置一下