一,android studio R文件红色警告,编译没问题

# custom Android Studio properties
idea.max.intellisense.filesize=50000

原因默认文件大小限制
在文件里写上上面的内容,保存,退出重启。就可以解决该问题
二,设置 jvm 可用堆内存的大小

内容为此: -Xmx4g
可以参考google 官方文档
# custom Android Studio properties
idea.max.intellisense.filesize=50000
在文件里写上上面的内容,保存,退出重启。就可以解决该问题
可以参考google 官方文档