Enable Zip64 in Android Studio

I am building a large Capacitor app via Android Studio. The build gives a warning about Zip64 being required but forbidden at the last step of actually packaging it. I think this due to the large number of files in the app and its beyond the limits of 32bit Zip. I have no way around this as the files are necessary and I cannot slim it down any further.

How do i enable Zip64 in the Android project generated by Capactitor?