好久沒有打開的項目重新打開編譯時,報如下
Error:Could not resolve all files for configuration ‘:app:debugAnnotationProcessorClasspath’.
Could not download butterknife-compiler.jar (com.jakewharton:butterknife-compiler:8.8.1): No cached version available for offline mode
原因是之前爲了提高編譯速度,在Gradle設置選項中開啓了Offline work模式,解決辦法關閉此選項:
Androidstudio 3.6.1版本解決方式如下:
很簡單,分爲兩步------------------
請看圖
步驟二指向的那個圖標是不是很象形啊?哈哈哈
舊版本解決方式如下:
over