git账号怎么退出android,android – Glide Process’命令’git”以非零退出值128结束...

我从Github下载了Glide并想在Android studio上测试该程序.但是一旦我清理项目,我就有这个错误

Information:Gradle tasks [clean]

fatal: Not a git repository (or any of the parent directories): .git

FAILURE: Build failed with an exception.

* What went wrong:

A problem occurred evaluating settings 'glide-master'.

> Process 'command 'git'' finished with non-zero exit value 128

* Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

Information:BUILD FAILED

Information:Total time: 0.28 secs

Error:fatal: Not a git repository (or any of the parent directories): .git

FAILURE: Build failed with an exception.

* Where:

Settings file '/Users/MyComputer/Downloads/glide-master/settings.gradle' line: 1

* What went wrong:

A problem occurred evaluating settings 'glide-master'.

> Process 'command 'git'' finished with non-zero exit value 128

* Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

Information:1 error

Information:0 warnings

Information:See complete output in console

错误是什么意思?我使用Gradle构建.是因为Android Studio上的版本问题?

解决方法:

如果使用Android Studio项目未正确配置git,则会发生这种情况.

以前似乎没有人经历过这个.因为我google千次,解决方案不起作用.

什么对我有用:

> Gradle Build Android Studio项目解决方案

>从git克隆项目.或者将您的项目上传到git并克隆PC中的空文件夹中的Fresh. (这是为了正确配置git,其他方式对我的项目没有正常工作)

>如果存在任何.idea文件夹,请删除.

>作为现有的Android Studio项目打开.

>让它滚动.如果需要任何依赖,请继续.

标签:android-glide,android,git,gradle

来源: https://codeday.me/bug/20190824/1706334.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值