android studio 编译问题汇总

[问题1]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
}

 [问题2]gradle build running 很久

http://blog.csdn.net/u011889786/article/details/50417755

http://anforen.com/wp/2016/08/dev_install_andorid_studio_gradle_eclipse/

 [问题3]NDK_PROJECT_PATH = null问题分析

https://www.jianshu.com/p/b4753ab1f8e7

相关推荐