Since a couple of days, I have troubles to get my Meteor 1.6 app built for Android. I haven’t changed much, but all of a sudden, most of the times I run into an error if I call
meteor run android-device.
Sometimes, I get the error
resource temporarily unavailable, which seems to be related to insufficient process or file handles.
Sometimes, the error is
A problem occurred starting process 'Gradle build daemon'.
This happens at random. Sometimes, the very same code base builds smoothly and deploys successfully to the device.
Any ideas what might be causing this? I haven’t changed anything to my Android setup, nor did I update Meteor to a newer version.
Edit: A system reboot seems to help, but this isn’t a nice solution.