Android :: DDMS Under Mac OS X 10.5 - Snow Leopoard
Aug 30, 2009Under snow leopard I get an error running ddms:
CODE:......................................
Under snow leopard I get an error running ddms:
CODE:......................................
I can't get gmote to work. I'm running Snow Leopard 10.6.4, and I downloaded the snow leopard gmote package, but I still can't connect to my computer. I use the local ip addresses gmote gives me on my laptop (it gives me 2) and neither works. I can't figure out what's wrong! If any1 can help I'd greatly appreciate it.
View 3 Replies View RelatedI was trying to install Android 2.0 on Mac which running snow leopard. When I run android, it give me error message. I forgot the exact message, but it roughly says I cannot run a 32 bit code on a 64 bit virtual machine or something similar.
View 2 Replies View RelatedI am trying to install Eclipse Galileo on my MacBook running OS X v10.6 (Snow Leopard) and set it up with ADT plugin. I downloaded 64-bit cocoa version of "Eclipse Galileo for JEE developers" and ADT v0.9.6 from the respective offical sites. When I try to add this new plugin-archive in Eclipse, I get the following error:
Cannot complete the install because one or more required items could not be found ....missing requirement: ADT requires 'org.eclipse.wst.sse.core 0.0.0' but it could not be found.
AFAIK, one gets this error when a required Eclipse-plugin is missing. I checked the official site and saw that wst-plugin is actually bundled with "Eclipse for JEE developers" download package compare Eclipse packages. Not sure what I am missing here.
My mac is not connected to the internet so I guess adding resource URLs to the "Available Software sites" section wouldn't help. I would have to download anything required on my PC and then copy it onto my mac]
Usually I used some rugged type of flip phone and never had a problem. How well does the droid hold up to being out in the cold winter weather? Do I have to put this thing into 3 layers of protective pouches or what?
View 12 Replies View RelatedI've a two month old Haier W910 with stock ROM. The other day, when switching on the phone, the device displayed white snow. The device function normally - touch screen, audio, wireless and cellular (accept calls) but the screen continue to show white snow (like old analog TV).
I found a youtube video showing the same symptom and one of the comments suggested that the phone need to re-flash ROM and it will solve the problem. The youtube video posted confirmed that it did. Since then and for the past 3-4 days I've been trying to flash my phone but it doesn't work. I'm able to put the phone in "Download mode" and use fastboot to flash a recovery boot, oem unlock works but I can't seems to reflash full ROM: I can't use the "update.zip" method as a I can't see the screen and when I try to flash different ROMs under www.needrom.dom using 'fastboot update' it keep saying:
archive does not contain 'android-info.txt'
archive does not contain 'android-product.txt'
error: update package has no android-info.txt or android-product.txt
I can't flash the rom in "recovery mode" as I can't see the menu and select the proper option.
I guess I also need to replace the bootloader as the screen is white snow from the very beginning..
So the question is: how can I do a device full reflash WITHOUT using the screen (preferably in fastboot)
I am trying to debug my device from a windows system with no IDE, just the android sdk, jdk and jre. I am using the ddms to do so. I works fine. I can see the entries in the logcat in the ddms. Among others I can see 'Wrote stack trace to /data/anr/traces.txt". But when I select the Device->File Explorer... and try to open the data folder, there is nothing there. It looks like an empty data folder.
View 2 Replies View RelatedI'm running the basic HelloActivity from the SDK 2. samples. When I try Trace view in the DDMS prespective its generate the trace file but can not opened. "'/sdcard/com.google.android.apps.uploader.trace': Permission denied". Do I need a permission to write in the SD card? 4:38.380: INFO/dalvikvm(10434): Debugger has detached; object registry had 1 entries 11-20 21:34:38.380: DEBUG/dalvikvm(10434): VM cleaning up 11-20 21:34:38.411: ERROR/AndroidRuntime(10434): ERROR: thread attach failed 11-20 21:34:38.466: DEBUG/VoiceDialerReceiver(1225): onReceive Intent { act=android.intent.action.PACKAGE_ADDED dat=package:com.example.android.helloactivity flg=0x20000000 cmp=com.android.voicedialer/.VoiceDialerReceiver (has extras) } 11-20 21:34:38.466: DEBUG/dalvikvm(10434): LinearAlloc 0x0 used 636716 of 5242880 (12%) 11-20 21:34:38.490: WARN/ResourceType(1015): Resources don't contain package for resource number 0x7f080000 11-20 21:34:38.490: WARN/ResourceType(1015): Resources don't contain package for resource number.....
View 4 Replies View RelatedI'm new to eclipse and android, so I have not the correct experience, by now. I'd like to know which are the tipical debugging methods.
emulator ddms junits
I'd like to do step-by-step using eclipse-rcp, emulator and ddms.
I can see in DDMS perspective the thread of Helloworld example running.
I change perspective to debug and I set breakpoint, but the application doesn't stop.
Probably a stupid question with an obvious answer, but I can't figure it out by myself. Tutorial (http://source.android.com/source/using-eclipse.html) says to go to the root of the downloaded platform, and first start emulator (it starts successfully), and then run $ddms.
But when I'm trying to do so, it fails: ~/mydroid$ ddms No command 'ddms' found, did you mean: Command 'dkms' from package 'dkms' (main) Command 'xdms' from package 'xdms' (universe) Command 'dds' from package 'dds' (universe) ddms: command not found
I'm having a problem where I am able to update the location in the Android Emulator from the Eclipse DDMS exactly once per time an activity is loaded, but no more.
I discovered the problem in my application where Activity2 (which accesses the GPS) is started by Activity1 (which doesn't do anything particularly interesting); when Activity2 is started, I can update the GPS position using the Manual input in Location Controls in the DDMS and everything works fine. However, then I get a LogCat message "TTFF: XXXX" where XXXX is an apparently random number, and then the GPS will no longer update. However, if I click the Back button in the emulator to return to Activity1, and then use Activity1 to restart Activity2, I can enter a new GPS location. But, I can't enter a second one; tries to do so result in no apparent action. My application works perfectly well on a real device with a real GPS signal.
To test things further, I closed and reopened the emulator, immediately closed my application (from Activity1, which doesn't do anything besides load an XML layout and attach an onClick listener to a button), and loaded Google Maps. I observed the same behavior here; I could send one position that Google Maps would respond to, but any subsequent attempts to update position fail. When I close Google Maps and reopen it, I am able to send exactly one more location update from DDMS.
The distance between my subsequent location updates is usually 0.02 degrees, but I have tried it with up to 5 degrees also. My application does not use ACCESS_MOCK_LOCATION because I want to switch back and forth between testing on a physical device and testing on the emulator without having to update the manifest for each build, plus it seems like setting a permission for my application shouldn't have anything to do with Google Maps on the emulator.
I would try loading up a GPX path, but the DDMS seems broken there too: http://groups.google.com/group/android-developers/browse_thread/threa...
What does the ddms do? I see it is the Dalvik Debug Monitor, but what does it do? I have my phone plugged in and it is just zooming along. I am not touching any buttons on the phone, and it appears the phone is asleep.
View 2 Replies View RelatedCould anyone upload a small example file that will work? Every file I've tried fails. Is this function completely broken? All attempts result in no points being listed. No errors reported.
View 4 Replies View RelatedIn the DDMS, I had used FileExplorer and visited /data/app folder to see the .apk files installed in the emulator. After that I had minimized the data folder and thus stopped that process.
But I am observing that this /data/app folder is opening again and again automatically. I dont know what is the reason and how to stop it.
I can't find the DDms allocation tracker in the DDMS perspective in eclipse. I search the view doing Window > show view I look to the android view but i have no allocation tracker view there. I use search view tool and I can't find any Where is this View ? (If it's obvious, i am sorry because i reallu can't find it)
View 4 Replies View RelatedI have an Activity that is running out of memory in CreateSurface. The logcat looks like this: 10-04 17:55:52. 574 : ERROR/SurfaceFlinger(1086): createSurface() failed, generateId = -12 10-04 17:55:52.574: WARN/ Window Manager (1086): OutOfResourcesException creating surface 10-04 17:55:52.574: INFO/WindowManager (1086): Out of memory for surface! Looking for leaks. 10-04 17:55:52.574: WARN/WindowManager (1086): No leaked surfaces; killing applicatons! 10-04 17:55:52.574: WARN/ActivityManager (1086): Killing processes Free memory at adjustment 0 I'm trying to use DDMS to figure out what's going on but when the application gets killed DDMS aborts the Allocation Tracker. Is there a way to cause the application to do a core dump and is there a tool for analyzing dumps? I have SDK version 8, which does not allow simultaneous use of DDMS and the Eclipse debugger so I need to get creative.
View 5 Replies View RelatedI accepted that it was bug in Helios but I now find that I'm now getting the same error under Eclipse 3.5
When I send a location from the DDMS perspective using the emulator control tab. I have a standard listener:
onLocationChanged(Location location){...}
If I break on the first line of this, having sent the lat/lon pair of 53.5/-3.0 from the DDMS tab, then the mLatitude/mLongitude in the location argument have changed to 53.508833/-3.005000 (6 dec places only shown).
The Android SDK is 2.2 in both and the target is Google APIs level 7. Does anybody else experience this or could offer a possible explanation? (It amounts to quite a big error in terms of metres on the map.)
When one person debugging android application on a PC, emulator-5554 <===> DDMS A <===> Eclipse A can communicate well. When the second person want to debug application on another emulator on the same PC emulator-5556 <===> DDMS B <====> Eclipse B. The DDMS B can't communicate to emulator-5556 rightly. Seems emulator-5554 and emulator-5556 both controlled by DDMS A. How to resolve this problem?
View 4 Replies View RelatedI'm getting a server response back in ddms,But I'm finding that ddms logs only show about the first 50 lines of the response,then cuts everything else off, which isn't very helpful,since it means I can't see any of the useful info. I don't have much control over the content of the response it's a standard Django debug page, i.e. quite long. Does anyone know how I can get ddms to show the whole thing?
View 5 Replies View RelatedI'm having trouble using the nexus one in DDMS on Fedora 12. It is detected fine and I can see two processes, cooliris and uploader.These are the only two that show up. The emulator shows up just fine and i can debug from there. Does anyone have suggestions on how to get the nexus to connect properly?
View 2 Replies View RelatedI've been trying to locate some excessive object creation to deal with hiccuping caused by the garbage collector (any word on upcoming improvements to this, btw?), and have discovered that DDMS is the tool for the job.I shut down eclipse and booted up DDMS, and it finds my device, but lists no processes running (no matter what I run).Initially, it did list the "powermanager" app that I had installed, so I assumed this was causing some kind of conflict and uninstalled it and rebooted my device.Now it simply lists no processes.
View 4 Replies View RelatedI have searched and searched for help and am not finding anything. Well i take that back I have found countless guides on how to do it. tried many of them, didn't work, deleted everything, tried another , didn't work so now I am asking for help.I am trying to do screen captures using the SDK and eclipse and whatever else the guides say to download. Whenever i double click the ddms file a command box flashes up on the screen for a split second and thats it . Can't go any further if the commab box won't stay up. I think a windows window is supposed to pop up after that so I can choose my phone.
View 3 Replies View RelatedThis is an incredibly dumb question. So, apologies. But I can't find the answer anywhere and it's driving me nuts.
In DDMS, I have lost the tag column, i.e. the first part of the message from Log.d(tag, message). I can see time, log type, process id, and message - but not tag!
Anyone know how to get it back? I've tried right-clicking the columns, looking through the menus, etc - no joy.
sometimes i am getting these exception console
CODE:................
I have Windows XP and use Eclipse v3.4.1.
Under Device Manager I see Android Phone -> Android Composite ADB Interface when my Nexus One is plugged into the computer (Disk drives - > HTC Android Phone USB Device when my myTouch is plugged in), so I
what do the following mean in the Heap view of *DDMS*:
1) Data Object
2) Class Object
3) 1,2,4,8-byte *array* : which arrays are we talking about here??
4) non- Java object
I can use DDMS Location Controls of SDK 1.0 to manually or load a GPX KML to send mock location data. Now I checked out the latest source code of Android and make, but with the new DDMS I can't use DDMS Location Controls now, it says no GPS emulation in this virtual device. and please refer to the picture http://www.androidin.com/bbs/viewthread.php?tid=3760&extra=page%3D1
View 4 Replies View RelatedWhen i am running DDMS tool to profile the application, In left pane of the DDMS tool we are able to see all the emulators that are attached to DDMS. When i expand one of the emulator some times i am getting "?" in process names.
View 9 Replies View RelatedSuccessfully loaded a KML file into the DDMS Emulator Tab, which shows up as a series of Latitude and Longitude coordinates in the Location Controls window. Is there a way to step through each Placemark, vs. having the entire series play automatically? There are forward and back buttons on the Location Controls window, but no documentation on what they mean. I tried them both, but no Placemark coordinates are highlighted, so I don't know which Placemark is currently the focus.
View 1 Replies View RelatedIn the email application, EmailProvider.db is not seen. Can anyone tell me how to retrieve the same? Earlier in eclair code it was present in data/data/com.android.email/ databases/EmailProvider.db So how do we retrieve the same?
View 4 Replies View Related