Problem generating the apk

I have an application that ended a few days ago but I wanted to generate the apk again now after spending almost two days trying to generate it, I finally managed to generate it and when I installed the app it closed instantly and I installed the old apk and it works normally help

A post was merged into an existing topic: Build Issue! Not downloading and opening