Error Build APK

Hello,
I can not find an error while trying to generate an apk.

Error: Cannot read property ‘length’ of undefined

In the code I commented all the places where I used it and even then the error still occurs.

Can anyone help me solve or find the error?
image