2015-10-19 26 views
0

我在android studio中使用butterknife.jar工作。但是,知道它是在不可編碼的代碼中拋出一個IOException。我在代碼中拋出異常,如下所示:我在Butterknife的viewbinder代碼中得到IOException我無法編輯

@OnClick(R.id.testButton) 
public void Test() throws IOException { 
    dispatchMakeJson("Test" + System.currentTimeMillis(),Link, Title, Description); 
} 

但是在viewbinder中它說它想要再次拋出異常。

有人知道我必須在這裏做什麼嗎?

+0

嘗試將函數dispatchMakeJson的內容放在try catch中。 – Mike

回答

相關問題