码迷,mamicode.com
首页 > 移动开发 > 详细

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

时间:2015-12-12 20:06:48      阅读:288      评论:0      收藏:0      [点我收藏+]

标签:

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

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

标签:

原文地址:http://www.cnblogs.com/yxwkf/p/5041657.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!