2015-09-07 77 views
1

當我試着去查看我的Eclipse XML的文件,我得到這個錯誤:異常渲染期間提出,日食

Exception raised during rendering: Can't make a decor toolbar out of MockView 
Exception details are logged in Window > Show View > Error Log 
The following classes could not be instantiated: 
- android.support.v7.internal.app.WindowDecorActionBar (Open Class, Show Error Log) 
- android.support.v7.internal.widget.ActionBarContextView (Open Class, Show Error Log) 
- android.support.v7.widget.Toolbar (Open Class, Show Error Log) 
See the Error Log (Window > Show View) for more details. 

我試圖重新啓動Eclipse,但錯誤依然存在。

任何人可以幫助我嗎?

回答

0

好吧,我沒有得到爲什麼你仍然在使用Eclipse,我現在已經停止使用Eclipse了,現在它的時間已經轉移到Android工作室了。我認爲我也面臨同樣的錯誤,在android工作室也是唯一的技巧,只有我才能使我的xml正確渲染是以下技巧

你應該改變渲染的android版本到21或可能更後者:見this

我想在Eclipse中你可以很容易地找到這個..。