Android studio都安装配置好后开始HelloWorld后出现问题,在国内找了好久没找到解决方案,最后翻墙解决了问题。
地址:http://stackoverflow.com/questions/29249986/finished-with-non-zero-exit-value
提供了多种方法,最后
-Go to File->project structure->Project
-Check Android plugin Version and change it to 1.3.0(Latest one)
-Go to File->project structure->app->Properties->Build Tools Version
-Change it to latest one(22.0.1). Also do this for any other module you have for your project.
-Clean and build project.
解决。
总结:i understand this issue comes if you are using a library with a lower version or not compatible for your sdk and build tool version。版本的问题