android studio下gradle与Git出错解决方法

Error: Gradle: Execution failed for task ‘:mytask’ > A problem occurred starting process ‘command ‘jni/ndk-build.cmd”
这是win7打开android程序出现的问题,解决方法:打开build.gradle,找到“commandLine”这行,把commandLine ‘ndk-build’, ‘-C’, file(‘jni’).absolutePath改为commandLine ‘cmd’, ‘-C’, file(‘jni’).absolutePath。

打开android程序出现问题:can’t start Git.解决办法,file->setting->Version Control->Git.在Path to Git executable中写入:C:\Users\hongbinwang\AppData\Local\GitHub\
PortableGit_c2ba306e536fdf878271f7fe636a147ff37326ad\bin\git.exe

文章来自:http://blog.csdn.net/sjtu_chenchen/article/details/46360803
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3