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

前端 未结 23 2440
甜味超标
甜味超标 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:04

    For me i was adding the whole playstore dependencies

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

    But i needed google map only , so i made it more specific and the error was resolved.

    compile 'com.google.android.gms:play-services-maps:8.4.0'

提交回复
热议问题