I ran into this error when I wanted to build for api33 for Android. I simply copied the dx files from an older sdk build tools folder. Its only 2 files. dx.bat and dx.jar in the lib folder. Build success again. I understand this is a dangerous but it’ll get you out of it.