![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
Android小问题合集
记录日常踩的坑!
巴山有雨
记录我目之所及的世界。
展开
-
Android报错信息整理
Execution failed for task ‘:app:transformDexArchiveWithDexMergerForDebug’.com.google.gson.stream.MalformedJsonException: Invalid escape sequence at line 1 column 31 path $[0].name解决:https://www.cnblogs.com/xkd-/p/11542294.htmlAndroid Studio 解决build日志.原创 2021-01-04 10:35:56 · 149 阅读 · 0 评论 -
Android screenOrientation 设置竖屏失效
问题是这样的,当我在AndroidManifest.xml文件中设置如下代码:<activity android:name=".MainActivity" android:screenOrientation="portrait" android:launchMode="singleTask"/>发现,在手机不显示横竖屏切换的时候,页面还是会随着手机的横竖切换而变化。这时只要在BaseActivity里面设置如下代码即原创 2020-09-22 15:58:25 · 1430 阅读 · 0 评论 -
Gitee.com push项目时报错Permission denied (publickey)
具体报错信息如下:Push failedGit@gitee.com: Permission denied (publickey).Could not read from remote repository.Please make sure you have the correct access rightsand the repository exists.造成原因:公钥设置不当导致解决方案:码云的公钥分别要设置两个位置,一个是部署公钥,一个是个人公钥下面介绍两种公钥的生成方式:部署公钥原创 2020-09-21 15:38:28 · 1310 阅读 · 0 评论