Error:Execution failed for task

后端 未结 2 1799
余生分开走
余生分开走 2021-01-05 06:11

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 i

相关标签:
2条回答
  • 2021-01-05 06:20

    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.

    0 讨论(0)
  • 2021-01-05 06:38

    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

    0 讨论(0)
提交回复
热议问题