Gradle“我的应用程序”项目刷新失败 错误:无法启动守护进程。 此问题可能是由守护程序的错误配置引起的。 例如,使用了无法识别的jvm选项。 请在https://docs.gradle.org/4.1/userguide/gradle_daemon.html
上查看守护程序的用户指南一章。-Xmx1536m: illegal argument
usage: java [-options] class
where options include:
-help print out this message
-version print out the build version
-v -verbose turn on verbose mode
-debug enable remote JAVA debugging
-noasyncgc don't allow asynchronous garbage collection
-verbosegc print a message when garbage collection occurs
-noclassgc disable class garbage collection
-ss<number> set the maximum native stack size for any thread
-oss<number> set the maximum Java stack size for any thread
-ms<number> set the initial Java heap size
-mx<number> set the maximum Java heap size
-classpath <directories separated by semicolons>
list directories in which to look for classes
-prof[:<file>] output profiling data to .\java.prof or .\<file>
-verify verify all classes when read in
-verifyremote verify classes read in over the network [default]
-noverify do not verify any class
-nojit disable JIT compiler
有关详细信息,请咨询IDE日志(“帮助” |“显示日志”)
答案 0 :(得分:2)
您可以删除计算机上的文件夹Album.objects.filter(song__audio_file__isnull=False)
,然后重新运行构建。