Skip to content Skip to sidebar Skip to footer

Error:Execution Failed For Task

I get this problem when I use source code of Telegram in Android studio. So I use android studio preview 3.0.0 beta 2, gradle 4.1-all.zip, mainsdk:15. I did everything but it's not

Solution 1:

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.


Solution 2:

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


Post a Comment for "Error:Execution Failed For Task"