
Android
962456
这个作者很懒,什么都没留下…
展开
-
adb swipe 使用
input swipe startX startY endX endY timeToSwipe表示从坐标 (startX,startY) 滑动到 (endX ,endY),timeToSwip 为滑动的时间(毫秒)原创 2020-01-21 23:43:32 · 5602 阅读 · 0 评论 -
无法加载类 org.gradle.api.internal.component.Usage解决办法
在Androidstudio编译发生如下错误Error:A problem occurred configuring project ':image-preview'.> Exception thrown while executing model rule: PublishingPlugin.Rules#publishing(ExtensionContainer) > org/g...原创 2018-03-27 14:03:59 · 11296 阅读 · 0 评论 -
** that does not belong to this FragmentManager!
** that does not belong to this FragmentManager!之前用的好好的,V4版本升级到27的时候报的错,翻了下源码是设置tagetfragment引起的if (f.mTarget != null) { if (mActive.get(f.mTarget.mIndex) != f.mTarget) { throw new IllegalSt...原创 2018-04-11 11:36:14 · 2042 阅读 · 1 评论 -
ViewGroup.bringChildToFront(View child)
ViewGroup中维持了一个view数组,bringChildToFront将child从数组中移除,然后在add到数组的尾部,调用requestLayout(),ViewGroup刷新,child就被会绘制到最顶端原创 2018-04-09 15:46:00 · 1877 阅读 · 0 评论 -
Configuration 'compile' is obsolete andhasbeen replaced with 'implementation'.
Configuration 'compile' is obsolete andhasbeen replaced with 'implementation'.Configuration 'provided' is obsolete andhas been replaced with 'compileOnly'.Configuration 'testCompile' is obsolete andha...原创 2018-03-29 10:28:07 · 4096 阅读 · 0 评论 -
‘gradlew‘不是内部或外部命令,也不是可运行的程序或批处理文件
gradlew是gradlewrapper的缩写,对gradle的命令进行了包装,比如我们进入到指定Module目录并执行“gradlew assemble”即可完成对当前Module的构建(Windows系统下)。发送这种错误,一般是没有配置gradle的环境变量,打开项目里面gradle-wrapper.properties,查看使用的版本在Androidstudio设置中找到gradle的缓...原创 2018-07-04 16:22:57 · 42610 阅读 · 6 评论