Search found 1 match

by fanyhe1
Tue Nov 14, 2023 1:12 pm
Forum: 《ESP32-C3 物联网工程开发实战》书籍讨论版
Topic: 使用Android Studio 2021.3.1软件,编译app_android时出错
Replies: 0
Views: 77291

使用Android Studio 2021.3.1软件,编译app_android时出错

错误信息:Gradle sync failed: Process 'command 'git'' finished with non-zero exit value 128 (536 ms)
问题指向文件build.gradle的下面代码:
def getGitHash = { ->
def stdout = new ByteArrayOutputStream()
exec {
commandLine 'git', 'rev-parse', '--short', 'HEAD'
standardOutput = stdout
}
return stdout.toString ...

Go to advanced search