Windows-->Preferences-->Android-->Lint Error Checking
-->在Issues裏面輸入“Instantiatable”
-->選中搜索內容-->右下角Severity選warning-->OK!