我正在开发一个 Android 应用程序,我在其中将一个 4.8 MB 的 JSON 文件解析为一个 sqlite 数据库,然后我访问该数据库以在 ListView 中显示数据。由于问题标题中提到的错误/标志, ListView 我认为阻止了所有项目显示在 ListView 中。有没有办法配置最大文件大小?
最佳答案
json 文件的代码洞察不是必需的。无论如何,请按照以下步骤操作:
打开 IntelliJ IDEA 平台属性文件:
cd /Applications/Android Studio.app/Contents/bin
open idea.properties
现在,添加一行:
#---------------------------------------------------------------------
# Maximum file size (kilobytes) IDE should provide code assistance for.
# The larger file is the slower its editor works and higher overall system memory requirements are
# if code assistance is enabled. Remove this property or set to very large number if you need
# code assistance for any files available regardless their size.
#---------------------------------------------------------------------
idea.max.intellisense.filesize=2500
关于json - Android Studio Mac OSX : JSON File Size exceeds configured limit (2560000). 代码洞察功能不可用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36082070/