android
CrazyMonkey2
这个作者很懒,什么都没留下…
展开
-
导入kotlin-for-android-developers weather app项目遇到的坑
1. 修改ext.anko_version = '0.10.0'为0.10.1 anko版本不兼容bug2. weather app android.database.sqlite.SQLiteException: near "order": syntax error (Sqlite code 1): ,将AUTOINCREMENT自增长去掉原创 2017-07-17 17:57:22 · 322 阅读 · 0 评论 -
Android Studio3.1 中,dependencies的项目无法下载的问题解决
代理问题:1.改为不使用代理,如下图 2.检查gradle.properties里是否有代理配置如果有的话全部删除重新 3.重新rebuild project,搞定原创 2018-04-16 17:36:15 · 1201 阅读 · 0 评论 -
Android ConstraintLayout Chain Style(链式)chainStyle标签没作用
Android ConstraintLayout chainStyle标签没作用 原因:1.没有加入左右(上下)控件的相对引用如下 app:layout_constraintEnd_toStartOf="@+id/textView3" app:layout_constraintStart_toEndOf="@+id/textView" 2.没有在表头(表尾)加入...原创 2018-04-16 20:38:50 · 6507 阅读 · 0 评论 -
git 提示 error:Your local changes to the following files would be overwritten by checkout:
当使用git切换分支时提示:error: Your local changes to the following files would be overwritten by checkout:。。。。。。。Please commit your changes or stash them before you switch branches.Aborting 错误时,可能使用命令:...转载 2018-10-15 10:03:52 · 958 阅读 · 0 评论 -
解决华为推送报错“Failed to resolve: com.huawei.android.hms:push:2.6.1.301”。
在AndroidStudio集成华为推送,写入集成代码如下图implementation 'com.huawei.android.hms:push:2.6.1.301'后报错 “Failed to resolve: com.huawei.android.hms:push:2.6.1.301” 错误如下图造成此错误的原因应该是因为华为仓库网络连接不稳,可以采用添加离线包的方式解决...原创 2019-02-19 15:25:51 · 15572 阅读 · 6 评论 -
AndroidStudio Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
如果网上的方法都不能解决问题的话或许你可以试一下万能的重启;重启AndroidStudio或电脑或许能发现惊喜原创 2019-02-20 09:52:29 · 216 阅读 · 0 评论