解决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

相关文章
相关标签/搜索