Error:Execution failed for task

China☆狼群 提交于 2019-11-30 20:15:36

Try removing the line:

compile 'com.google.android.gms:play-services:3.2.+'

If that works. Replace it with the specific parts of play-services you need, e.g:

compile 'com.google.android.gms:play-services-gcm:11.2.0'

for Google Cloud Messaging.

Try the below it worked for me

  • Delete the ./gradle folder inside your project
  • Delete all the build folders and the gradle cache. I ran the following command:

based off Dex error On Android Studio 3.0 Beta4

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!