Hey i have this issue where I first created an app, put it on playstore and then i tried to integrate google adsense into it later. I had to change some code in the build file which has now completely ruined my project and i can't even revert back my changes since i had closed android studio. 

I've spent hours trying to fix the code but it just wouldnt work. I need to see what have i done wrong. In the previous version it was working fine. Is there any way to see the code in the previous apk? or reset changes or anything like that in android studio?