AndroidStudio中Method 「xxx」 is never used 解決方案

在使用AndroidStudio時,方法明明被調用的,卻仍然提示 Method Method 「xxx」 is never used。並且不影響項目的正確運行,經過網上的搜索終於找到了解決方案。 錯誤示例: 解決方案: 在Androidstudio的菜單File下點擊Invalidate Caches/Restart... 重啓Androidstudio完美解決問題。
相關文章
相關標籤/搜索