最近使用Android Studio加入了aosp framework的代碼,但是發現Android Studio總是提示在indexing,隔幾秒就更新一次。
從網上搜到的資料是:File->Invalidate caches/Restart,選擇invalidate,但是實測發現並不管用。
最後查到一位網友的答覆,可以通過:file -> project stucture -> modules -> gen 右鍵,選擇resources,之後就不會再提示更新
親測有效!!
最近使用Android Studio加入了aosp framework的代碼,但是發現Android Studio總是提示在indexing,隔幾秒就更新一次。
從網上搜到的資料是:File->Invalidate caches/Restart,選擇invalidate,但是實測發現並不管用。
最後查到一位網友的答覆,可以通過:file -> project stucture -> modules -> gen 右鍵,選擇resources,之後就不會再提示更新
親測有效!!