android打包报错Detected multiple Kotlin daemon sessions
作者:互联网
遇到的错误:Detected multiple Kotlin daemon sessions at build/kotlin/sessions
解决方法:
- 进入/android/gradle.properties 文件添加下列代码
org.gradle.daemon=true
org.gradle.jvmargs=-Xmx4096m -XX:MaxPermSize=4096m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
org.gradle.parallel=true
org.gradle.configureondemand=true
标签:daemon,multiple,sessions,gradle,Detected,报错,org,true 来源: https://blog.csdn.net/weixin_42368597/article/details/117356292