
android
zcawesome
这个作者很懒,什么都没留下…
展开
-
Could not find com.android.tools.build:aapt2:3.2.1-4818971
在项目的build.gradle文件中,新增一行google()即可解决allprojects { repositories { jcenter() google() }}原创 2019-02-14 10:02:12 · 707 阅读 · 0 评论 -
Could not find method jackOptions() for arguments
去掉文件里的jackOptions {enabled true}原创 2019-02-14 10:03:35 · 1065 阅读 · 0 评论 -
解决getContext()方法找不到的问题
问题:在Android开发的时候使用getContext()获取上下文对象的时候找不到getContext()方法解决办法: 使用YourActivityName.this代替getContext()就行了。...原创 2019-03-22 14:58:16 · 4992 阅读 · 0 评论 -
gradle版本冲突 All com.android.support libraries must use the exact same version specification
在使用一些组件的时候常常会遇到组件冲突的情况比如报错:All com.android.support libraries must use the exact same version specification (mixing versions can lead to runtime crashes). Found versions 27.1.1, 27.0.2. Examples inc...原创 2019-03-22 17:16:59 · 545 阅读 · 0 评论