Java finished with non-zero exit value 2 - Android Gradle

前端 未结 23 2282
甜味超标
甜味超标 2020-11-22 02:54

I\'m getting this error executing my Android app (I cleaned it and then built it, but the error is still present)

  • Sync: OK
  • Make Project: OK
23条回答
  •  有刺的猬
    2020-11-22 03:13

    If You have already updated your SDK and You also using google-play-services then you need to take care of the dependency because there are some kind of conflics with :

    Follow the below : compile 'com.google.android.gms:play-services:+' Replace by compile 'com.google.android.gms:play-services:6.5.87'

    Note: Here '6.5.87' is the google-play-service version. I hope it will help..

提交回复
热议问题