Questions tagged [ddms]

DDMS is an Android SDK tool that provides port-forwarding services, screen capture on the device, thread and heap information on the device, logcat, process, and radio state information, incoming call and SMS spoofing, location data spoofing, and more.

The DDMS (Dalvik Debug Monitor Server) is a tool that comes with the android SDK. It provides port-forwarding services, screen capture on the device, thread and heap information on the device, logcat, process, and radio state information, incoming call and SMS spoofing, location data spoofing, and more.

More information about DDMS is at http://developer.android.com/tools/debugging/ddms.html

615 questions
5
votes
5 answers

Android Studio can't detect Samsung S5

I have a SAMSUNG S5 and i'm starting to learn how to program in Android. At first Android Studio detected my device and I was able to test my programs fine but all of a sudden it can't find it anymore. Everytime time I go to 'reset adb' in Android…
MatTaNg
  • 923
  • 8
  • 23
  • 41
5
votes
6 answers

Why Android ddms not showing emulator or connected devices?

This is a screenshot of my DDMS. As you can see there is nothing and I cant find any way to get the devices list or any other functional parts. I try to reinstall android studio and new sdk but still its not solved. Is there any way to solve this…
Biswajit
  • 1,829
  • 1
  • 18
  • 33
5
votes
1 answer

Android Monitor.bat is not running

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…
manugupt1
  • 2,337
  • 6
  • 31
  • 39
5
votes
3 answers

Android - profiling a specific thread (UI Thread) via DDMS

I'm trying to find a cause of freezes on UI thread in my app in certain conditions. I have run the app through DDMS profiling. But in the bottom tree-table view I see all the methods called on all threads, whereas I would like to focus only on…
KarolDepka
  • 8,318
  • 10
  • 45
  • 58
5
votes
1 answer

How to track peak memory consumed by android application

Is there anyway to find the peak memory consumed by the application while running.Normally an application will take some memory and While the application is running it will consume somemore memory and again will release after the operations were…
Karthi
  • 125
  • 2
  • 11
5
votes
1 answer

running adb from command line makes the device go offline

I have a strange problem where everytime I run adb from command line (devices command or pull, or uninstall etc), the device goes offline but if I now go into DDMS in eclipse and reset ADB, it comes back online. If I am running the game from within…
prabal
  • 51
  • 4
5
votes
1 answer

Memory dump an app in android

I'm on a rooted device and want to take a complete memory dump of a certain app. I've tried: Some google results say to use "adb kill -10 [pid]" But, it is giving me "sigusr1 forcing gc (no hprof)", and no hproc is dumped. This could be device…
user1318504
  • 608
  • 1
  • 6
  • 11
5
votes
4 answers

Using Tracer For opengl in android debugger

I am trying to get opengl tracer working for android in monitor. When I add the name of the app, I am unable to open the app. It gives me an error Error while launching application : Starting Intent { .... } And an error saying unable to resolve…
manugupt1
  • 2,337
  • 6
  • 31
  • 39
5
votes
1 answer

DDMS and os show different memory info about my app

I'm working with the ddms to find memory leaks and other bugs. When tracking the memory I see a heap size of 30MB. But when I go to device and check the memory in the application manager I see 70 MB. Is it normal? What's the reason for this…
Chen Kinnrot
  • 20,609
  • 17
  • 79
  • 141
5
votes
2 answers

Multiple deploy via Maven to Android devices on a USB Hub

I've searched on SO for a while on this but cannot find a definitive answer. I've recently purchased a 7 port USB Hub for my dev machine, with 7 differing Android devices on it. This was done primarily to keep everything all charged, but I am also…
Mo Kargas
  • 1,000
  • 7
  • 24
5
votes
1 answer

Android DDMS tool hangs after selecting a device

On linux i have an Android ARM emulator running. I wanted to see the log output, so i started ddms on the command line. After ddms opened i selected the device. Then after two or three seconds DDMS freezes. It freezes only after i select the…
5
votes
2 answers

Native heap tracking issue - "Native Heap" tab is empty

I want to track the native heap in my application. I opened DDMS from /tools sdk's folder, as I saw in tutorials, and I do see the "Native Heap" tab. However when I press the "Update heap" Icon, the native heap is still empty - I don't see any…
dor506
  • 5,246
  • 9
  • 44
  • 79
4
votes
2 answers

Is AssetManager still needed by future functions?

When do I create and close an instance of AssetManager. I had a bug in my program. The DDMS was saying.... 07-04 18:44:59.241: DEBUG/KeyguardViewMediator(65): pokeWakelock(5000) 07-04 18:44:59.541: DEBUG/KeyguardViewMediator(65):…
b10hazard
  • 7,399
  • 11
  • 40
  • 53
4
votes
2 answers

Android debug/run configurations

I am trying to figure out what exactly is the difference between debug configuration and run configuration. When is one used and when the other. When I look in them they are both the same for my application: Launch default activity Choose…
theblitz
  • 6,683
  • 16
  • 60
  • 114
4
votes
1 answer

Android Native Heap Inspection DDMS

I'm having trouble getting the native heap information from my HTC Magic running Android 2.2.1. I've configured the standalone DDMS setting "native=true" and used the commands: adb shell setprop libc.debug.malloc 1 adb shell stop adb shell…
Ove Danner
  • 41
  • 1
  • 5