ddms

strange log entry related to webcoreglue in android

一笑奈何 提交于 2019-12-06 21:39:41
问题 Since 2 days , i get the following error when i run my app on the device, however it runs fine on the emulator can any 1 help me in solving this error? E 3762 webcoreglue the real object has been deleted E 3762 webcoreglue the real object has been deleted E 3762 webcoreglue the real object has been deleted E 3762 webcoreglue the real object has been deleted it occurs when i m loggin in to facebook login webview through my app. the login dialog appears fr a tenth of a second and then

Android DDMS v22.0.1 unable to generate a systrace using Droid Razor 4.1.2

情到浓时终转凉″ 提交于 2019-12-06 16:51:14
问题 I've selected several of the trace tags and when I run the trace (from DDMS ) I get the following output: Unexpected error while collecting system trace. Unable to find trace start marker 'TRACE:': error opening /sys/kernel/debug/tracing/options/overwrite: No such file or directory (2) error openi (cuts off the error here) indeed there is no debug file in the kernel directory, but which mechanism will generate the necessary path? 回答1: It looks like your cellphone is running a boot(kernel)

连不上adb

只谈情不闲聊 提交于 2019-12-06 08:20:42
android开发环境中的DDMS链接手机时候,发现DDMS一直连不上手机,链接提示如下图: 查了资料,网上有一般有三种解决方法反别是: 第一种:原因:adb.exe 本身的问题 是ddms调用adb引发的.,发现这是windows环境下, adb有一个限制, 也可以说是bug. 当手机上同时运行的进程数大于64时, 就会引发adb崩溃. 更深层次的原因, 就是windows API的WaitForMultipleObjects所支持的最大句柄数是MAXIMUM_WAIT_OBJECTS, 即64. 解决方法: 在网上找到了别人发的adb.exe,替换掉android sdk安装目录的platform-tools下的adb.exe文件。这个问题就不会出现错误了,原理是把最大支持数改为了256个。 文件下载地址: http://code.google.com/p/android/issues/detail?id=12141 第二种:adb启动问题 eclipse中视图模式选择DDMS(还有常见的java和debug视图), 显示Devices窗口,若无可通过选择window->show view->Devices显示,再选择下拉箭头中的reset adb。 此时eclipse会再自动重试一次,输入Connection attempts:1即表示成功啦 第三种: (1)运行cmd

How to retrieve the sandbox of my app using Eclipse from my device?

喜夏-厌秋 提交于 2019-12-06 07:38:43
I have an android app which uses sharedPreferences . I run the app in my android device using Eclipse I would like to pull the entire sandbox from the device to desktop so that I can manually see the contents of the sharedPreferences. I clicked DDMS and clicked FileExplorer and saw data folder But its empty. Any help is appreciated ! Thanks in advance ! If device is rooted may be it's possible. But in general you can not retrieve the sandbox of your app from your device to pc. But you can achieve your goal which is getting the sandbox of your app by running your app on Android Virtual Device

Reading database file from android device

与世无争的帅哥 提交于 2019-12-05 22:27:35
I've been trying to pull a copy of my sqlite database from my android app for dev. My first attempt was to call: ./adb shell cd data/data cd com.example.app cd databases But then I get stuck here as I do not have permission to do a pull or even view the files in that dir! So I thought I'd try out the DDMS File Explorer which gives me this: But when I try and pull files from here (I would expect them to be in the data folder) it just pulls the directory and nothing else. How can I do this to pull a copy of the database my app is creating/using? I have tried this when the phone is on the SD card

Could not open Selected VM debug port (8700). Make sure you do not have another instance of DDMS or of the eclipse plugin running

人走茶凉 提交于 2019-12-05 21:31:17
I'm trying to execute an android program in eclipse kepler. However, every time I execute I get this message. I did what everyone said about this problem like: - Making sure there is a line on windows Host file that contain this line: 127.0.0.1 localhost - Going to Window -> Preferences -> Android -> DDMS and: 1. Setting local debugger port to 8601 2. Check the box Use ADBHOST and the value should be 127.0.0.1 However, none of these things fixed my problem. Note: I'm using windows 8.1. two instance of adb.exe are started. Solve it by Open Task manager by pressing Ctrl+Shift +DEl and ending the

Android studio cannot open monitor (DDMS)

旧时模样 提交于 2019-12-05 14:35:05
I can't open the monitor (ddms) in android studio getting following error: A java Runtime Environment (JRE) or Java Development kit (JDK) must be available in order to run Monitor. No Java virtual machine was found after searching the following locations: C:\Android-Studio\android-studio\sdk\tools\lib\monitor-x86\jre\bin\javaw.exe javaw.exe in your current PATH Would appreciate any suggestion how to fix this. thanks You must have your jdk or jre installed and in your path. Considering you are running windows you must go to your environment variables and add the location of one of them to the

Android Studio - Android Device Monitor - Empty View

半腔热情 提交于 2019-12-05 14:05:02
问题 I am trying to use the Android Device Monitor within Android Studio, but somehow I managed to remove all views. I have tried resetting the perspectives, Window->Show View->(Any View), and even re-installing Android Studio but nothing shows up. Does anyone know how to reset the Device Monitor back to it's default views? (With the devices on the left, and the heap/threads/allocation views on the right.) Thanks for your help! 回答1: I've experienced this same problem by using Window -> Reset

Eclipse DDMS window not showing any thing +android

旧城冷巷雨未停 提交于 2019-12-05 12:29:08
my Eclipse DDms window not showing anything(empty logcat,empty file explore... etc) while running my app in emulator. Sometime it works if i restart eclipse but not all time. why such type of hanging... androidGuy Even i face the same problem number of times. What i use to do is go to DDMS and click on the emulator name which is displayed in left side of the window under title "Name" in the Devices-view. Now Logcat will begin to display sequence of events. If this doesn't works then reset adb by clicking the down arrow in the left side of the DDMS window under the title "Devices". Hope this

DDMS showing empty file explorer for online emulator

人盡茶涼 提交于 2019-12-05 10:19:32
问题 I am facing this problem from many day,i searched a lot but not found any convenient answer. Whenever I start a emulator ,after some time when I see DDMS its show the emulator online but its File Explorer is show nothing . Its visible again when I restart my emulator again or restart Eclipse .but I dont want this ,I want a quick solution. One more thing I have already set the device timeout to a higher value but its also not working. Here is Screen Shot of my DDMS .Can anyone have a Quick