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
10
votes
4 answers

Line number in android log util

Is there any way to print file line number with android Log ?
Mithun Sreedharan
  • 49,883
  • 70
  • 181
  • 236
10
votes
5 answers

How can i open .trace file format(traceview) without DDMS?

I want to save a log of method calls. Traceview supports that function and I can get .trace file format. but, I need to open .trace file format without DDMS. If I can't open .trace file without DDMS, How can I get a log of method calls? (The best…
Roh
  • 101
  • 1
  • 1
  • 3
10
votes
1 answer

Android memory leak on textview - LeakCanary (Leak can be ignored)

I keep having the following memory leak as displayed by LeakCanary, when I go from my splash screen to the mainactivity. I understand that this is an expected leak due to fault in the Android OS itself, but is there a way I can avoid this (by…
dowjones123
  • 3,695
  • 5
  • 40
  • 83
10
votes
2 answers

Trying to run Android JUnit tests in Eclipse fails?

I have seen all the examples on the web and it seems real simple. I have a bare-bones app that displays a string. I have a a Android JUnit test project that I created when the app was being created (eclipse asked if I wanted to create a test…
nik
  • 109
  • 1
  • 3
10
votes
4 answers

Thread objects not garbage collected after being finished

I noticed that my application is leaking memory. This can be seen in DDMS, and I managed to get a OutOfMemoryError. I found the source of the leak. One of the activities has a thread running in the background. This thread is stopped in onDestroy().…
Tomasz Niedabylski
  • 5,768
  • 1
  • 18
  • 20
9
votes
2 answers

strange log entry related to webcoreglue in android

Since 2 days , I get the following error when I run my app on the device, however it runs fine on the emulator can anyone help me in solving this error? E 3762 webcoreglue the real object has been deleted E 3762 webcoreglue the real…
Pratik Bhat
  • 7,166
  • 2
  • 35
  • 57
9
votes
3 answers

ddms emulator control disabled

i am beginner in android development and the problem is that emulator control is disabled on the ddms. I tried to open but i could not find how to open it again? How can i open emulator control? Thank you for your replies.
oldTimes
  • 259
  • 3
  • 4
  • 13
9
votes
3 answers

how can i see how much memory my app is using out of its VM budget?

I've looked in DDMS but didn't see anything. Thanks.
jfisk
  • 6,125
  • 20
  • 77
  • 113
9
votes
3 answers

Eclipse Android: Could not open Selected VM debug port (8700)

Possible Duplicate: Could not open Selected VM debug port (8700) I am getting this error on the console when opening Eclipse: "Could not open Selected VM debug port (8700). Make sure you do not have >another instance of DDMS or of the eclipse…
wuntee
  • 12,170
  • 26
  • 77
  • 106
9
votes
2 answers

Android Remove file with DDMS

I need to remove a file from the /data/data folder my app added. I am looking at the file with the DDMS in Eclipse. If DDMS can't , how would I delete it otherwise?
Ian Vink
  • 66,960
  • 104
  • 341
  • 555
9
votes
4 answers

How send a message to the emulator using DDMS in Android studio

i am trying to build a text messaging application in android, the code works, but the only thing wrong about it is that i cannot send messages to the emulator using DDMS. I have pasted my code below, just in case it is necessary, and i have the…
Alex Irabor
  • 401
  • 1
  • 6
  • 17
9
votes
5 answers

DDMS unable to see Google Glass

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…
9
votes
2 answers

Edit shared preferences from DDMS

I want to edit shared preferences values from DDMS, if I double click the file it doen't saves the changes. Do I do something wrong or there is special plugin for that?
NickF
  • 5,637
  • 12
  • 44
  • 75
9
votes
4 answers

Attach Eclipse debugger to restarted application

I am testing the onsave/onrestore mthods of my android application. To do this I phone my device and see that it kills the process and then I hang up. :) I see that it restarts the application. Question is: how do I cause it to restart in debug mode…
theblitz
  • 6,683
  • 16
  • 60
  • 114
8
votes
4 answers

Android: requires unavailable shared library com.google.android.maps; failing

First of all, I set the Project Build Target in project\properties\android. I created AVD with Level 7 and 8 with Google APIs, set each AVD only the SD card size 4Gb, set the min version of SDK to 7 the target SDK to 8 in Manifest file. Without…
L. Kvri
  • 1,456
  • 4
  • 23
  • 41