Failed to sync Gradle project

后端 未结 4 577
温柔的废话
温柔的废话 2020-12-24 03:20

I am using Android studio 1.3.1 and getting this failed to sync Gradle project error :

Error:Unable to start the daemon process: could not reserve enough spa         


        
4条回答
  •  情深已故
    2020-12-24 03:27

    in my case, if you use firebase with this dependency:

    com.google.firebase:firebase-firestore-ktx:21.4.2
    

    it will make Error:Unable to start the daemon process: could not reserve enough space for object heap

    so you have to erase ktx:

    com.google.firebase:firebase-firestore:21.4.2
    

提交回复
热议问题