dx.jar is missing

Bug代码:

Error:Execution failed for task ‘:app:transformClassesWithDexForDebug’. > com.android.build.api.transform.TransformException: java.lang.RuntimeException: java.lang.RuntimeException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: dx.jar is missing
报错的原因:
该项目的buildTools太低了,把它改大一点就Ok了。Like this!

build gradle配置文件

文章目录
  1. 1. Bug代码:
|