android開發中出現錯誤「syntax error,annotation are only...

今天錯誤不斷,連續碰到好幾回這樣的錯誤,鬱悶。「syntax error,annotation are only available if source level is 1.5」解決的方案是:windows-->preferences-->java-->compiler把裏面的1.6改爲1.5,肯定以後,在從新改回1.6,就能夠了,我至今還莫名其妙,這是什麼個邏輯法,反正就這樣了。
相關文章
相關標籤/搜索