If I run gradle assembleDebug from the command line, I am suddenly getting this error:
gradle assembleDebug
UNEXPECTED TOP-LEVEL EXCEPTION: com.android.dx.util.DexEx
I resolved all of my issues by adding this into project.properties
cordova.system.library.7=com.android.support:appcompat-v7:27.1.0