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