./launcher rebuild app עם שגיאה, אבל קוד יציאה הוא 0

comment or remove this template and try rebuilding again. this is most probably the culprit.

EDIT:

The error is originating from this line:

You can comment the following line and try again, the error should then disappear