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

前端 未结 5 817
孤城傲影
孤城傲影 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条回答
  •  既然无缘
    2020-12-17 21:41

    In my case I write in the build.gradle dependencies from the parse quick guide

    dependencies{
    compile 'com.parse.bolts:bolts-android:1.+'
    compile 'com.parse:parse-android:1.+'
    }
    

    then I replace with

    dependencies {
        compile 'com.parse.bolts:bolts-android:1.+'
        compile fileTree(dir: 'libs', include: 'Parse-*.jar')
    }
    

    Save the changes, restart the android studio and run the project. It worked in my case.

提交回复
热议问题