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

前端 未结 5 813
孤城傲影
孤城傲影 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
    2020-12-17 21:34

    I have used this command in build.gradle file.

    configurations {
    all*.exclude group: 'com.android.support', module: 'support-v4'
    }
    

    It has resolved this "non-zero-exit-value" and another one 'duplicate entry during packageAllDebugClassesForMultiDex'.

提交回复
热议问题