newuser The problem is in file descriptor leakage. On my machine application crushes when descriptor quantities are about 512. (about 380 iterations on appium). But it could be easier to find out the source of the problem if file descriptors were exactly and only for files, but ruby is using them also with some streams. Soon we'll solve this problem, I hope.
newuser We finally solve the problem. The branch with solving is here: github.com/rhomobile/rhodes/tree/android_fd_leak_fix . You can try to build your application from this branch, or just simply add the code from the last commit to your gem. Please, test it and tell me if the problem is solved. It this fix helps - we will add it to the master branch.
I have added this code to the gem I am using currently (7.1.4) but I'm still getting crashes after a number of photos taken. I've even been able to crash just by opening and exiting the camera app many times.