Cause: dx.jar is missing
解决方案
方案一 copy dx.jar到目标编译版本
查找相应的buildToolsVersion版本下是否有dx.jar存在
如果不存在则可以copy相邻的buildtool下的dx.jar比如:项目中使用的时
buildToolsVersion: "25.0.3"
在25.0.3中未找到dx.jar,可以使用以下命令copy dx.jar到25.0.3中
cp ./build-tools/25.0.2/lib/dx.jar ./build-tools/25.0.3/lib/dx.jar