刚刚编译android studio的时候,控制台报错,说某某某return 2....
这个问题的正确解决方法是:
项目对应的build.gradle里面添加的依赖项有问题,只能是删除某个依赖项,然后重新运行知道运行成功为止!!
告诉大家个小窍门,一般都是最后一次添加的依赖项有问题,大家可以从最后一项逐项的注销依赖项,知道运行成功为止。
Execution failed for task ':dexDebug' Android Studio 编译失败
时间: 2024-08-04 19:06:23