2019年5月14日

adb 常用命令

摘要: dumpsys window | grep mCurrent adb logcat | grep "SEARCH_TERM" 阅读全文

posted @ 2019-05-14 16:47 leihupqrst 阅读(79) 评论(0) 推荐(0) 编辑

2018年8月16日

RemoteView设置高度

摘要: 刚开始内层LinearLayout直接用 后来改成这样: 内层LinearLayout设置为:android:layout_height="64dp" 就可以看到通知栏变高了 阅读全文

posted @ 2018-08-16 10:37 leihupqrst 阅读(518) 评论(0) 推荐(0) 编辑

2018年7月17日

android 开发实用网站

摘要: http://bb-sz.com/ 阅读全文

posted @ 2018-07-17 18:11 leihupqrst 阅读(108) 评论(0) 推荐(0) 编辑

java.lang.IllegalStateException: This Activity already has an action bar supplied by the window decor. Do not request Window.FEATURE_SUPPORT_ACTION_BAR and set windowActionBar to false in your theme t

摘要: 异常信息: Caused by: java.lang.IllegalStateException: This Activity already has an action bar supplied by the window decor. Do not request Window.FEATURE_ 阅读全文

posted @ 2018-07-17 17:28 leihupqrst 阅读(370) 评论(0) 推荐(0) 编辑

安卓强制杀死进程的几种方法收集汇总

摘要: 一、ActivityManager.java killBackgroundProcesses 该方法的使用目前仅见与Settings模块在应用管理中对正在运行的后台应用进行停止。须在manifest文件中申明相关权限。调用该方法杀掉后台进程后,系统会根据一系列的判断来决定是否有必要重新启动该进程。不 阅读全文

posted @ 2018-07-17 17:21 leihupqrst 阅读(2673) 评论(0) 推荐(0) 编辑

android studio :Timeout waiting to lock daemon addresses registry

摘要: 一、开发中 android studio 突然遇到下面的错误提示: Error:Timeout waiting to lock daemon addresses registry. It is currently in use by another Gradle instance. Owner PI 阅读全文

posted @ 2018-07-17 17:15 leihupqrst 阅读(596) 评论(0) 推荐(0) 编辑

2017年8月25日

20170825遇到的问题

摘要: 1、使用RxJava Retrofit如果返回的类里面的参数对应不上,会导致ShowContent不调用 2、查看task栈情况:在cmd命令行里或者Android Studio中的Terminal里敲入如下命令:adb shell dumpsys activity 3、attach debugge 阅读全文

posted @ 2017-08-25 15:01 leihupqrst 阅读(117) 评论(0) 推荐(0) 编辑

2017年7月8日

百度地图的那些坑

摘要: 1、全景图不能显示报错: android.view.InflateException: Binary XML file line #6: Error inflating class com.baidu.lbsapi.panoramaview.PanoramaViewCaused by: java.l 阅读全文

posted @ 2017-07-08 18:54 leihupqrst 阅读(382) 评论(0) 推荐(0) 编辑

2017年5月5日

静态内部类的加载方式

摘要: 非内部类的静态成员变量会直接加载 OuterClass static load.flag:innerStaticInnerStaticClass static load.InnerStaticClass func load(). OuterClass static load.flag:innerSt 阅读全文

posted @ 2017-05-05 12:21 leihupqrst 阅读(244) 评论(0) 推荐(0) 编辑

2017年2月17日

StringBuffer和StringBuilder的区别

摘要: 转自:http://blog.csdn.net/mad1989/article/details/26389541 无论是做Java或是Android,都避免不了遇到这个问题,其实开发过程中一般情况下是不会纠结,这个问题是面试必选经典题,今天有时间,就总结一下。 String、StringBuffer 阅读全文

posted @ 2017-02-17 17:36 leihupqrst 阅读(274) 评论(0) 推荐(0) 编辑

导航