Through more googling and thread surfing I have found a solution that worked for me and allowed me to build apk’s for testing and aab’s for upload. This solution was provided by @JoshPeterson on a separate thread to this which deals with the same issue linked here Android builds failing when 'Script Debugging' is enabled .
The solution that worked for me was to increase the Managed Code Stripping Unity - Manual: Managed code stripping. This reduces the executable code size and allows your project to complete it’s build successfully. I increased mine to medium and it worked. Hope this helps!