Error log is attached.
I already tried having a lot of versions, changing the RuntimeAndroid file to have a newer gradle version.
Here is the latest attempt at exporting:
Please login to see this attachment.
changed target version to 5.0*
Please login to see this attachment.
Please login to see this attachment.
Please login to see this attachment.
I have downgraded the android studio version.
The problem seems to only appear with my specific application.
Because this application has been created for windows, has a lot of plugins, which are unsupported, these can't be removed easily and I'd remove them from time to time after a lot of debugging, which i can only do if I export.
Here's the list of unsupported plugins:
Please login to see this attachment.