finished with non-zero exit value 2

http://blog.csdn.net/u010665691/article/details/44487069

上面的博客里面讲了怎么处理,但是我解决这个问题是下面这个

http://stackoverflow.com/questions/28640314/android-studio-fails-to-debug-with-error-org-gradle-process-internal-execexcepti

That is because you enabled multiDex for release builds only, not for debug builds.

add it

defaultConfig {
    multiDexEnabled true
}

你可能感兴趣的:(androidstudio)