解決Android Studio提示inotify大小不足的問題

問題描寫敘述

使用Android Studio 導入AOSP源代碼並且indexing完。ide右上角可能拋出警告」Kernel inotify watch limit reached」。shell

解決方法

打開/etc/sysctl.conf文件,在文件的末尾加入一句話:bash

fs.inotify.max_user_watches = 524288

使用下面命令使改動生效:markdown

sudo sysctl -p

而後從新啓動你的Android Studio就可以了。ide

相關文章
相關標籤/搜索