
Android
走自己的路-让别人也有路走
这个作者很懒,什么都没留下…
展开
-
eclipse run andriod程序提示Please ensure that adb is correctly located at 问题
原来运行好好的环境,今天一直run不起来,一直提示如下错误:The connection to adb is down, and a severe error has occured. You must restart adb and Eclipse.Please ensure that adb is correctly located查看了一些资料,出现该问题可能主要是下面两原创 2016-01-02 22:07:48 · 495 阅读 · 0 评论 -
android 控件响应的各种方法
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" > <Tex原创 2016-01-03 22:53:35 · 465 阅读 · 0 评论 -
adb shell ,出错 提示error: device not found
今天本想试试手,用am 工具启动一下android应用程序,然后一直提示如下错误。C:\Windows\system32>adb shellerror: device not found一开始认为是adb server异常或者没起来,就把server kill掉,然后重启,然后发现还是不行。adb kill-serveradb start-server。最后还是仔细原创 2016-01-03 21:53:48 · 1187 阅读 · 0 评论 -
andriod进程的优先级,已经android内存不够时,清除进程的机制
andriod进程主要分一下几个优先级,同一个优先级可能有同时存在多个进程:1、前台进程(Foreground): 与用户的操作密切相关,不同的应用通过调用不同的方法可以切换到前台进程。例如正在与用户进行交互的activity(调用resume方法)正在运行的BroadcaseReceiver(它的BroadcastReceiver.onReceive()方法被执行)正在运行的Se原创 2016-01-02 22:35:40 · 1139 阅读 · 0 评论