android project: process finished with non-zero exit value 2

前端 未结 5 821
孤城傲影
孤城傲影 2020-12-17 21:15

I\'m unable to compile my android project. Google and other SO posts tell me it (probably) has something to do with dependencies, but I can\'t find where. Here\'s the error:

5条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-17 21:43

    The date of when this happened to me was 07/08/2016.

    I just got this exact error after updating to the newest android studio.

    I resolved it by updating my java jdk from java jdk 7 to java jdk 8.

    Now my builds work fine. I think the newest version of android studio requires jdk 8…

提交回复
热议问题