Android :: LogCat In Eclipse Not Working Anymore
Nov 5, 2010
Logcat in eclipse has been working fine for me until bout a week ago. I'm not sure how I managed to do it to both my of development environments. (PC and Mac). I get the follow error when I open up logcat in eclipse.
Could not create the view: For input string: "Debug"
java.lang.NumberFormatException: For input string: "Debug" at java.lang.NumberFormatException.forInputString(NumberFormatException.java: 48) at java.lang.Integer.parseInt(Integer.java:449) at java.lang.Integer.parseInt(Integer.java:499) at com.android.ddmuilib.logcat.LogFilter.loadFromString(LogFilter.java: 134) at com.android.ide.eclipse.ddms.views.LogCatView $FilterStorage.getFilterFromStore(Unknown Source) at com.android.ddmuilib.logcat.LogPanel.createFilters(LogPanel.java: 1229) at com.android.ddmuilib.logcat.LogPanel.createControl(LogPanel.java: 441) at com.android.ddmuilib.Panel.createPanel(Panel.java:29) at com.android.ide.eclipse.ddms.views.LogCatView.createPartControl(Unknown Source) at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java: 375) at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java: 229) at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java: 595) at org.eclipse.ui.internal.WorkbenchPage $ActivationList.setActive(WorkbenchPage.java:4218) at org.eclipse.ui.internal.WorkbenchPage $18.runWithException(WorkbenchPage.java:3277) at org.eclipse.ui.internal.StartupThreading $StartupRunnable.run(StartupThreading.java:31) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java: 134) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java: 3586) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3279) at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java: 803) at org.eclipse.ui.internal.Workbench $31.runWithException(Workbench.java:1567) at org.eclipse.ui.internal.StartupThreading $StartupRunnable.run(StartupThreading.java:31) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java: 134) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java: 3586) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3279) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2548) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java: 332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java: 664) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java: 149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java: 115) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java: 196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication (EclipseAppLauncher.java: 110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java: 79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java: 369) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java: 179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574) at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
View 3 Replies
Sep 8, 2010
This was working fine when I first started the project. I am referring to editing/adding to the strings.xml file. It used to display a design and XML tab that allowed me to update it. now its just showing up as a table. Any ideas? I don't understand how I could have messed this up. I did check in another project of mine and I am getting the same results so I don't think it has anything to do with the XML.
Any ideas? Thanks!
View 1 Replies
View Related
Jul 19, 2010
I am trying for a simple program in android,i mistakenly closed logcat window,and i want to know how to enable it?
View 3 Replies
View Related
Mar 10, 2010
I was wondering if anyone knew how to restart LogCat without rebooting eclipse? Every once in a while LogCat will just die while I'm working and it seems like there should be a to get it working again. I've tried restarting the adb task, but that was just a haphazard guess at a solution.
View 4 Replies
View Related
Aug 31, 2009
Does anyone know how to get the eclipse logcat output to switch from emulator to device and back again? I am often developing, and using emulator and device in tandem, mainly because I can trace the http comms on the emulator and not on the device, and logcat gets stuck on whichever is launched first from eclipse. Right now the only way to get logcat output switched over is to restart eclipse, which is a little time-consuming. Anyone know another way to achieve the same thing?
View 4 Replies
View Related
Oct 19, 2010
A few weeks ago, I followed a tutorial to get Eclipse and the Android Development Kit up and running. I successfully built the test application and ran it on a virtual device.
Tonight I finally went back to do the next step in the tutorial, but when I went to start a new project there wasn't an option to start a new Android project. Even searching for it didn't produce anything. Window -> Preferences doesn't have an Android preferences dialog, either. The developer tools are still installed, though, according to Help -> Install New Software.
I'm using Eclipse Galileo 3.5.2 on Ubuntu 10.10 Maverick Meerkat. I just recently upgraded. I remember I had to install some additional packages to get Eclipse to run the Android stuff last time. I haven't uninstalled those, so I don't know what's causing the problem.
What's causing this problem, and what can I do to fix it?
View 1 Replies
View Related
May 25, 2010
My logcat window in Eclipse only displays the first few lines of the Stack Trace for each exception. This means that I often can't see where an exception occurred. Is there any way to change this setting?
View 1 Replies
View Related
Oct 28, 2010
I have seen this problem off and on while running the Eclipse (Galileo) under Fedora 11-13, whether the target is my device or an emulator. But now with my new device, the HTC T-Mobile G2 (Android 2.2), I see it much more frequently: I successfully download the app (complete with lots of Log.d() calls), the system successfully launches it, but the LogCat pane in the DDMS perspective is completely blank.
Sometimes, only sometimes, I seem to be able to kick it into action by clicking on the tool for Debug (the little bug one). But that doesn't even work all the time. Worse yet, it forces me to restart the whole program, which is very cumbersome.
And yes, I did remember to connect the device and make sure the device shows up under "adb devices", AND make sure that is the device the ADT downloaded to. I can even hit breakpoints in the code.
I suppose I could try relying only on the debugger, but I put a lot of work into writing those Log.d statements in the right place, it would be a giant leap backwards to do without them now. So any suggestions concerning what the problem might be, workarounds, or how to find relevant bugs logged against either ADT, SDK or the G2, would be welcome.
Google searches such as "android ddms logcat" have not helped so far.
I have also considered running ddms from the commandline, but the instructions on how to do this wtihout conflicting with the port already chosen by ADT for running DDMS are not clear enough to inspire confidence: so I always quit Eclipse before running the command line version of ddms. But then I lose the handy ability (provided by Eclipse) of navigating my source code while reading the log, so this too, is an inferior solution. Perhaps if someone can connect a few more of the dots in Google's instructions on this by explaining how to get the device and command-line DDMS to agree on a port while still running Eclipse, that would be a good solution.
View 2 Replies
View Related
Jan 3, 2014
I use Eclipse Luna. I had the problem that it hanged on start.So I started it with eclipse -clean. Now it's alright except for workspace settings.
I want Eclipse to automatically start with a particular workspace like it was before the eclipse -clean start.
Now Eclipse starts without opening the saved workspace.But the workspace is saved somewhere because I can choose it at File->Switch Workspace->D:workspaceEclipse.
When I choose it Eclipse is restarting and opening D:workspaceEclipse automatically. But the workspace directory is only saved for one start.
When I exit Eclipse (File->Exit) and make a new start it is again starting with empty workspace and I have again to choose File->Switch Workspace->D:workspaceEclipse.But I want to open the workspace D:workspaceEclipse automatically for ever like it was before the Eclipse start with -clean parameter.
View 4 Replies
View Related
Aug 15, 2010
I am developing on Windows machine.I was working quite well until yesterday, when I saw the the update prompt and updated my ADT plugin. Today when I tried debugging my test project, I experienced either one the following cases:
1) Logcat stops forever on the message "sending wait chunk".
2) Logcat shows the following message, and test project fails:
3) Eclipse stops responding.
The above cases happens even when the test unit contains nothing.Also it just doesn't not work in debug. The test case runs successfully if it is not in debug mode (But there are still some glitches, like Logcat sometimes won't emit debug messages).
View 2 Replies
View Related
Oct 28, 2010
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?
View 2 Replies
View Related
Oct 13, 2010
So I can see Logcat working with no problems in my eclipse IDE. However, when I try to run it in a command prompt, i get a bunch of logcat data for about a second, and then the whole thing freezes.
View 2 Replies
View Related
Aug 26, 2010
I have been using companion link for a month or so with my android and now it is no working. I have call tech support every day for a week I connect it with act and google mail. Does any one have a better product or solution?
View 1 Replies
View Related
Aug 11, 2010
The LogCat window is open. Sometimes LogCat displays Log messages, sometimes it does not, with or without the physical target attached. Is there an enable/disable Log somewhere in the debug environment?
View 2 Replies
View Related
Dec 7, 2009
I was just downloading some Apps like 3G Watchdog and Dolphin in WiFi, and then afterwards I wanted to browse the Internetin 3G mode but its not active. The little icon at the top that represented this is not visible anymore. However, Mobile Network is on
View 2 Replies
View Related
May 25, 2012
In Android, when you plug in via USB your phone to your PC, in the notification bar, a option is given to show the device as a USB drive. I dont get that option any more and I dont see anywhere to enable it or select it.
View 9 Replies
View Related
Nov 7, 2010
I'm using the Nonsensikal ROM now and noticed that Car Home doesnt work anymore. I've installed twice and the app's shortcut is nowhere to be found and under applications, the 'open' button is grayed out. Only 'uninstall' is avalable. Not sure what the dealio is...
View 5 Replies
View Related
Feb 26, 2010
I use to be able to hold down the magnifying glass on the Droid and say "Call John Doe mobile" to call someone. Now for some reason when I do it it only gives me a google search option although I can still say "Navigate to 123 Whatever RD" and it will open up the navigator but why is my voice dial not working anymore.
View 15 Replies
View Related
Dec 6, 2012
Yesterday I was trying to showoff the features of our phone to a friend and decided to demo the listen to command, but it didn't launch a song it just did a google search.
I have my langauge set to English (US). I cleared the Google Search application data.
Other voice actions work, likes "send text", "navigate to", "call", pizza, "how old is Barak Obama". For some reason "Listen to" just does a google search. SGH-I317M
View 4 Replies
View Related
Feb 5, 2010
For some reason, my Facebook App doesn't show the News Feed anymore. It worked this morning, but not anymore. When I click the News Feed button, it just says "Loading User Info" and then it shows my info.Anyone know how to fix this?
View 29 Replies
View Related
Nov 15, 2012
I have a htc sensation xl. My brightness control stopped working and I now I can't change the brightness anymore. It doesn't matter if I set to 30% or 100%, the brightness stays the same.I can only adjust the brightness from 0 to 25%. I already did and wipe and stiched a phone.
View 3 Replies
View Related
Jan 26, 2010
I am not sure what's happening but whenever I try to run the project, I get the following in the console:
[2010-01-26 22:13:37 - TestProject1.0]
[2010-01-26 22:13:37 - TestProject1.0] Android Launch!
[2010-01-26 22:13:37 - TestProject1.0] adb is running normally.
[2010-01-26 22:13:37 - TestProject1.0] Performing com.testproject. Home activity launch
[2010-01-26 22:13:39 - TestProject1.0] Application already deployed. No need to reinstall.
[2010-01-26 22:13:39 - TestProject1.0] Starting activity com.greekrow. Home on device
[2010-01-26 22:13:40 - TestProject1.0] ActivityManager: Starting:
Intent { cmp=com.testproject/.Home }
[2010-01-26 22:13:40 - TestProject1.0] ActivityManager: Warning: Activity not started, its current task has been brought to the front.
View 3 Replies
View Related
Dec 30, 2009
On my brand new Windows 7 machine, I downloaded Eclipse (Galileo) and several Eclipse plugins (Android's ADT plugin, Subclipse, etc.) After rebooting, neither of these plugins are showing up in the IDE (nothing in the preferences, menus, etc.) but if I click "Installation Details" in the 'About Eclipse' popup, I see all of the plugins listed as Installed Software. (ex. Android DDMS 0.9.5, Subclipse 1.6.5, etc.) How do I get my plugins to work?
View 7 Replies
View Related
Jun 7, 2010
I need to change the emulator's default time zone. It worked in command line with -timezone option. But when I tried it in eclipse android's launch options. it didn't work. I set it in Window->preferences->android->launch->default emulator options. Am I setting it in a wrong place?
View 2 Replies
View Related
Jul 7, 2010
I've been trying to export it to a jar file but as there is no main method in my app this doesn't work. Can someone tell me how to create this executable? the executable is to run the emulator and app both in computer not at phone!
View 4 Replies
View Related
Aug 29, 2012
I'm trying to install the components for developing Android apps on my Mac with Leopard osx 10.5.8. Since i use an outdated version of Eclipse "Ganymede" i have decided to upgrade to 32bit Indigo, i have downloaded the SDK and installed the recomended components with Android manager as explained, this in the Applications directory (where Eclipse is also installed), then i have downloaded the ADT plugin for eclipse successfully, Eclipse asked me to restart and so i did, but when after the restart, i click on Eclipse > Preferences..... i dont see the Android directory, when i create a new project, even under 'Other' there is no Android option, though if i display the installed plugin i see the Android ADT plugin listed I dont think it is a SDK issue, i think the ADT plug in its the cause of the malfunction, but i would not know where to check this since it is correclty installed.
View 3 Replies
View Related
Oct 2, 2009
I'm working on a 1.5 Android application. Developing in Eclipse 3.4.2 on Windows XP. I have a MapView, have requested updates, etc.
The problem is that after the first manually injected GPS coordinate, the app stops recognizing that a GPS coord has been sent.
CODE:..........
Then MyLocationListener simply changes the value in a TextView to match the new GPS coordinate.
CODE:..........
I added some logging in the onLocationChanged method and it only ever sees a Location the first time that I attempt to send an update. All subsequent ones don't fire the onLocationChanged method.
Additional info:
The logcat output is as follows:
10-02 17:22:34.423: INFO/gps(6671): Provider gps is has status changed to 1. Extras: Bundle[mParcelledData.dataSize=52]
First GPS update is faked:
CODE:............
According to http://developer.android.com/reference/android/location/LocationProvider.html#AVAILABLE , that 2 maps to "Available".
As soon as that "Available" gets set, no other locations get passed through. Seems a bit counterintuitive.
View 1 Replies
View Related
Dec 26, 2009
Can you please advise if development tools Eclipse, Android sdk, usb driver etc. are working properly under Windows 7 32 and 64 bit?
View 10 Replies
View Related
Aug 20, 2010
I'm just getting started with Android app development on a Mac, and I keep getting a NullPointerException everytime I go into Strings.xml to edit it. Here's the steps I followed - The project compiles and runs fine, but if I add even a single character to Strings.xml, a popup comes up that says - "An error has occured. Please see the log for details. An error has occured. Please see the log for details." When I click details, all I see is - "An error has occurred. See error log for more details. java.lang.NullPointerException" Anything I'm missing completely? Code...
View 2 Replies
View Related
Feb 13, 2012
My Eclipse working good for me but today when i try to lunched emulator and open DDMS for uploading some files in "File explorer" nothing show.Tab "Device", "File explore" empty...!
View 1 Replies
View Related