项目问题解决方案随笔

361 阅读1分钟

##Git

  1. GitHub push代码发生错误:fatal: Authentication failed for 'https://github.com/ ... 解决方案,重新执行Git config命令配置用户名和邮箱即可: git config -–global user.name "xxx"    git config –-global user.email "xxx@xxx.com"

2.could not resolve host: github.com 解决方案:打开git终端,输入:ping github.com

ping.png

然后打开 git安装目录/etc/hosts文件,在底部添加: 192.30.253.112 github.com

hosts.png
保存修改,再次进行代码提交操作,成功。

#Android Studio

  1. Android studio terminal中输入汉字重复 win+r(x)>>运行>>cmd>>调出命令行>>鼠标右键标题栏>>属性>>勾选使用旧版本控制台打钩>>确定>>重启Android studio

##Gradle 1.No matching client found for package name '包名' 注意检查google-services.json文件里的包名。 File google-services.json is missing. The Google Services

##ListView

  1. 关于Adapter的The content of the adapter has changed问题分析 ##参考资料 Github错误:fatal: Authentication failed for 'https://github.com/ ...