在build.gradle中引用 butterknife庫時,報出如下錯誤:
錯誤表現:FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:transformClassesWithInstantRunForDebug'.
錯誤原因:這可能是由於butterknife中依賴的v4包引起的
修改前:
exclude group: 'com.android.support'
修改後:
compile('com.jakewharton:butterknife:8.8.1') { exclude group: 'com.android.support' }