:app:dexDebug ExecException finished with non-zero exit value 2

前端 未结 13 1337
孤独总比滥情好
孤独总比滥情好 2020-11-28 13:44

Could anyone help me out with the following error. When i clean the project, it doesn\'t show any error but every time i try to run i get this message.

Error:Execut

13条回答
  •  一个人的身影
    2020-11-28 13:59

    I had the same problem when I compiled google play services to my dependencies.

    My mistake was I was compiling the enitre package like this

    compile 'com.google.android.gms:play-services:8.3.0'

    Instead when I tried the selective compile, it worked.In my case I was using for google sign in,so it had just had to be

    compile 'com.google.android.gms:play-services-auth:8.3.0'.

    More details are in the documentaion. https://developers.google.com/android/guides/setup#split

    Hope this will be of a little help to someone someday :)

提交回复
热议问题