ddms

Filter tags in LogCat (in Android Eclipse Plug-In)

╄→гoц情女王★ 提交于 2019-11-28 06:24:36
There is a TextField "Filter" below the LogCat output. However, it seems to filter only the Message-column. Id like to filter Tags also. Because there are my class names. How can I achieve it? There's a button that looks like a green + in the upper right of the log cat window, if you mouse over it says "Create Filter" in the popup from that you can filter by log tag. It creates a new tab in log cat with the filter name you specified. Then all of the output of that tag will go to that tab and not the "Log" tab. In Eclipse, if I would like to exclude those annoying Choreographer messages,I write

mac android studio 找不到DDMS及monitor打开白屏或报错问题

China☆狼群 提交于 2019-11-28 06:19:35
原因: 1.Jdk版本不一致 2.本地存在两个以上的jdk,其他的jdk比默认的jdk版本更高 mac配置jdk环境方案: 如果你是第一次配置环境变量,可以使用“touch .bash_profile” 创建一个.bash_profile的隐藏配置文件(如果你是为编辑已存在的配置文件。 则使用 "vim ~/.bash_profile" 或者 "open -e .bash_profile" 命令),如下面日志:2019-08-22 里面插入我们要配置的jdk版本 然后用"source .bash_profile"命令使配置生效。 输入显示刚才配置的路径,如下图所示: 删除多余jdk 通过命令/usr/libexec/java_home -V 获得本地所有不同版本jdk的路径,然后删除多余的jdk。 来源: https://www.cnblogs.com/wangqiong/p/11396995.html

Garbage collector in Android is running, but nothing is shown as being allocated in ddms' allocation tracker

微笑、不失礼 提交于 2019-11-28 05:26:35
问题 In my application, I'm careful not to make heap allocations in the main render loop, to prevent the garbage collector from having to do its thing. After making a series of changes to my application, I suddenly see the garbage collector getting invoked every second or two, and it is freeing up around 400k of memory per invocation. I look back at the changes that I made, and I don't have any explicit allocations happening on the render thread. So I run ddms and use the "Allocation Tracker" tool

Change file permissions in DDMS (Android)

情到浓时终转凉″ 提交于 2019-11-28 02:00:53
问题 I'm trying to test the behavior of my application when it cannot access some files due to missing permissions. Is it possible to change file/folder permissions on an android emulator using FileExplorer in DDMS perspective? 回答1: To change permissions in the emulator you need to use the adb shell command from your adroid-sdk platform-tools. In the android shell you can enter the command su to get root access. Now you can see and change the permissions with the normal unix commands chmod Note ,

Android Dead Object Exception

江枫思渺然 提交于 2019-11-28 00:52:51
I have successfully finished an android project's implementation and started to test the app for memory leaks. Sometimes, I get deadobject exception after a long trip in the app and all of the memory allocations are freed. How can I detect this problem? I have made some research about DDMS tools to detect memory leaks, Due to I have no idea about DeadObjectExeption, I don't know where to start. Thanks in advance.. This is not a memory leak problem. Definition of the memory leak (from Wikipedia): A memory leak, in computer science (or leakage, in this context), occurs when a computer program

DDMS file explorer can't access data\\data (HTC Desire HD)

瘦欲@ 提交于 2019-11-27 22:49:51
I'm working on some SQLite code and would like to examine the database. If I run the code on the emulator I am able to pull the file from data\data\myProject\databases using the DDMS file manager but if I run it on actual hardware the data\data folder is inaccessible. Is there any way around this other than gaining root access to the phone? dstefanox SQLIte Database is actually just a file stored in phone memory, which you can copy to your phone SD card and then easily access it from your PC. Below is the function which does exactly what you need. Just make sure to change your package name and

Android Monitor.bat is not running

安稳与你 提交于 2019-11-27 22:33:27
Hi I am not able to run monitor tool in Android. I have tried downloading the sdk and also android-studio, but I am not able to download it in either of the cases. I find the following error when I run monitor.bat Failed to create the Java Virtual Machine DDM.bat works perfectly fine In my case, I have changed monitor.ini file in tools/lib/monitor-x86 folder as below, -Xms256m -Xmx512m I hope this tip is useful to you. 来源: https://stackoverflow.com/questions/24523107/android-monitor-bat-is-not-running

Unable to open DDMS in Android Studio. Mysterious Eclipse error pops up

寵の児 提交于 2019-11-27 16:09:44
So here I go again with yet another Android Studio tools error. I don't think this one has been reported before, I can't find any posts on it. I am trying to open the Device Monitor (DDMS) in Android Studio by clicking on the following button: Every time I get the same error. What's really puzzling is that its an Eclipse error, as shown in the image: So it tells me to open a log file in the Android Studio SDK folder. The log file contains lots of text, but the main error is reported as: !ENTRY org.eclipse.osgi 4 0 2015-05-27 09:40:53.091 !MESSAGE Application error !STACK 1 java.io.IOException:

DDMS unable to see Google Glass

試著忘記壹切 提交于 2019-11-27 14:09:43
I am trying to get Eclipse and DDMS to see my Google Glass device. I have followed the instructions found here: https://developers.google.com/glass/develop/gdk/quick-start However the DDMS device list is still empty no matter what I do. I have tried multiple USB ports and different cables. The Device Manager can see the Glass device but the DDMS doesn't. The DDMS can see emulators however. After doing a little digging it seems that you need to make sure that a driver is installed for actual devices vs emulators. However I can't find any instructions on how to do that with Google Glass. I tried

Screenshots with Idea Intellij

六眼飞鱼酱① 提交于 2019-11-27 13:31:20
问题 how can i capture the screenshot of an app using ddms from intellij Idea? I have been using intellij for some time and i find it very useful. though i couldnt find a way to make it work. Could any one please tell me if this is possible from within the IDE itself? 回答1: UPDATE : Screen Capture feature was added in IntelliJ IDEA 13 (and Android Studio): It's available in the Android tool window (View -> Tool Windows -> Android). Answer for older IDEA versions: IDEA doesn't have this feature. If