Could not connect to the Gradle daemon. Ionic2 build error


#1

I am working on Ionic 2 for a couple of months, but recently getting this error while building apks. I did not change any configuation file (gradle/other dependencies/hooks). Finding no suitable solution, any idea what I am missing? My gradle distribution is 2.14.1, cordova version 6.5.0, Ionic version 2.2.1. JVM -Xmx1024m. I used ionic-minify and in the minify-conf.json file , changed the foldersToProcess object with pages/assets according to Ionic 2 structure. But now uninstalled ionic-minify. still no solution.


#2

solved it. Was an issue of gradle, being blocked by windows firewall.