![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
常见错误处理
文章平均质量分 54
K.I.O
这个作者很懒,什么都没留下…
展开
-
Git报错-refusing to merge unrelated histories
问题描述github创建了git仓库并建立了README文件,本地添加远程仓库:$git remote add origin进行提交时,Git报错-refusing to merge unrelated histories原因分析出现这个问题的最主要原因还是在于本地仓库和远程仓库实际上是独立的两个仓库。假如我之前是直接clone的方式在本地建立起远程github仓库的克隆本地仓库就不会有...原创 2019-01-12 14:49:19 · 332 阅读 · 0 评论 -
Android 报错:Binary XML file line #10: Error inflating class ***
问题描述自定义控件的时候,报错Binary XML file line #10: Error inflating class ***原因XML中自定义view的标签的格式是 包名 + . + 类名,在XML中引入自定义控件的时候,自定义控件一定要实现相应的构造方法:构造方法说明:第一个是用来在代码中创建View使用,第二个和第三个是从xml中创建View时使用,自定义View时这三个构造...原创 2018-12-26 11:30:04 · 3579 阅读 · 0 评论 -
Android报错:getActionBar()报空指针异常
错误描述:报错:Attempt to invoke virtual method 'android.content.Context android.app.ActionBar.getThemedContext()' on a null object reference在使用 ActionBar的时候,有时候会爆出空指针异常,这是因为应用没有获取到 ActionBar 导致的。解决办法 a...转载 2019-01-12 16:43:37 · 976 阅读 · 0 评论 -
python中pip更新失败:Requirement already up-to-date: ... (19.0.3)
坑述装一个包说我的pip版本太低pip 9.0.1需要升级到19.0.3运行:pip install --upgrade pipYou are using pip version 9.0.1, however version 19.0.3 is available.You should consider upgrading via the 'python -m pip instal...原创 2019-02-22 21:31:22 · 11152 阅读 · 0 评论