Error Loading Ddms Preferences Ubuntu
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Can't open DDMS up vote 0 down vote favorite When I open a standalone DDMS besides Eclipse, it generates the below error. hieund@hieund:~$ ddms 01:51:58 E/ddms: Could not open Selected VM debug port (8700). Make sure you do not have another instance of DDMS or of the eclipse plugin running. If it's being used by something else, choose a new port number in the preferences. (DDMS:6904): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -5 and height 17 (DDMS:6904): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -5 and height 17 01:52:18 E/DDMS: device offline com.android.ddmlib.AdbCommandRejectedException: device offline at com.android.ddmlib.AdbHelper.setDevice(AdbHelper.java:736) at com.android.ddmlib.AdbHelper.executeRemoteCommand(AdbHelper.java:373) at com.android.ddmlib.Device.executeShellCommand(Device.java:364) at com.android.ddmuilib.SysinfoPanel.loadFromDevice(SysinfoPanel.java:159) at com.android.ddmuilib.SysinfoPanel.deviceSelected(SysinfoPanel.java:126) at com.android.ddmuilib.SelectionDependentPanel.deviceSelected(SelectionDependentPanel.java:52) at com.android.ddms.UIThread.selectionChanged(UIThread.java:1721) at com.android.ddmuilib.DevicePanel.notifyListeners(DevicePanel.java:752) at com.android.ddmuilib.DevicePanel.notifyListeners(DevicePanel.java:740) at com.android.ddmuilib.DevicePanel.access$1100(DevicePanel.java:56) at com.android.ddmuilib.DevicePanel$1.widgetSelected(DevicePanel.java:357) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unkno
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up android ddms error up vote 1 down vote favorite i'm getting this error when i run the ddms in android sdk tools: From adb i change some settings from the Preferences > misc and i set the logging level as http://askubuntu.com/questions/103507/cant-open-ddms debbug. and now i getting this: Can you please help me to find out what the problem is? Thank you android ddms share|improve this question asked Jan 13 '11 at 11:32 Apollon1954 50331028 add a comment| 1 Answer 1 active oldest votes up vote 2 down vote accepted I think it might be that the location of adb.exe has been moved from the tools directory to platform-tools. Try adding YourandroidSDK\platform-tools to your path. share|improve this answer answered Jan 13 '11 at 12:06 NickT http://stackoverflow.com/questions/4679557/android-ddms-error 17.3k85799 Thank you for your reply. yes my adb is on platform-tools directory. What you mean by "Try adding YourandroidSDK\platform-tools to your path." thank you –Apollon1954 Jan 13 '11 at 12:12 If you are using Windows, then your Android SDK might be somewhere like "C:\dev\tools\android-sdk-windows" (That's where I put mine anyway, yours might be different) So using Control Panel, System, Advanced System Settings, Environment Variables - you can edit the PATH environment variable to include the platform-tools directory. I don't know how you do it in Linux though. –NickT Jan 13 '11 at 12:23 that works perfect! Thank you very much.. –Apollon1954 Jan 13 '11 at 12:28 Just spotted this in the release notes fro SDK tools: If you are upgrading to SDK Tools r8 from an earlier version, note that the the default installed location for the adb tool has changed from
Your ProjectCreate a ProjectAdd C and C++ CodeCreate an Android LibrarySet Up Continuous IntegrationWrite Your AppAdd Code from a TemplateAdd a Module for a New DeviceCreate https://developer.android.com/studio/profile/ddms.html a Java Class or TypeAdd App ResourcesBuild a UI with Layout EditorDesign App ThemesAdd Multi-Density Vector GraphicsCreate Icons with Image Asset StudioCreate Resizable Bitmaps (9-Patch)Localize the UIAdd URL https://ubuntuforums.org/showthread.php?t=1595684 and App Indexing SupportConnect to FirebaseImprove Your Code with LintImprove Code Inspection with AnnotationsBuild and Run Your AppRun Apps on the EmulatorCreate and Manage Virtual DevicesControl the error loading Emulator from the Command LineRun Apps on a Hardware DeviceInstall OEM USB DriversGet the Google USB DriverCreate Run/Debug ConfigurationsConfigure Your BuildConfigure Build VariantsConfigure APK SplitsMerge Multiple ManifestsShrink Your Code and ResourcesConfigure Apps with Over 64K MethodsRun Gradle from the Command LineAnalyze Your Build with APK AnalyzerDebug Your AppWrite and View LogsAnalyze a Stack TraceAnalyze OpenGL ES error loading ddms AppsTake a ScreenshotRecord a VideoTest Your AppTest from the Command LineCreate UI Tests with Espresso Test RecorderUI/App Exerciser Monkeymonkeyrunner ReferenceMonkeyDeviceMonkeyImageMonkeyRunnerProfile Your AppAndroid Monitor OverviewBegin with Android Monitor BasicsOptimize Memory Use with the Memory MonitorInvestigate Your RAM UsageTune CPU Use with the CPU MonitorPerfect GPU UseAnalyze GPU Use with the GPU MonitorVisualize GPU OverdrawProfile GPU RenderingTrack Network Use with the Network MonitorAnalyze the Java Heap with the HPROF Viewer and AnalyzerImprove Memory Allocation with the Allocation TrackerStudy the Call Stack with the Method TracerEvaluate dumpsys System InformationProfile Battery UsageUnderstand Historian ChartsAndroid Device Monitor and DDMS OverviewUse DDMSTrace Your Code Functions with TraceviewWalk through TraceviewAnalyze UI Performance with SystraceWalk through SystraceSystrace Command ReferenceProfile Your Layout with Hierarchy ViewerOptimize Your UIWalk through Hierarchy ViewerSet Up Devices for Hierarchy ViewerInterpret Hierarchy Viewer ResultsInspect the Memory Heap with Heap ViewerTrack Memory Allocation with Allocation TrackerTrace OpenGL CodePublish Your AppPrepare for ReleaseVersion Your AppSign Your AppCommand Line Toolsadbapksignerbmgretc1tooljobblogcatmksdcardzipalignRelease NotesSDK ToolsSDK Build ToolsAndroid Plugin for GradleSDK Platform Back to Developers Downloa
Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME Get UbuntuKylin Ubuntu Code of Conduct Ubuntu Wiki Community Wiki Other Support Launchpad Answers Ubuntu IRC Support AskUbuntu Official Documentation User Documentation Social Media Facebook Twitter Useful Links Distrowatch Bugs: Ubuntu PPAs: Ubuntu Web Upd8: Ubuntu OMG! Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk [SOLVED] Android ADT plugin - Eclipse - No Preferences Pane Having an Issue With Posting ? Do you want to help us debug the posting issues ? < is the place to report it, thanks ! Page 1 of 2 12 Last Jump to page: Results 1 to 10 of 14 Thread: Android ADT plugin - Eclipse - No Preferences Pane Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode October 13th, 2010 #1 razorbuzz View Profile View Forum Posts Private Message 5 Cups of Ubuntu Join Date Nov 2005 Beans 18 Android ADT plugin - Eclipse - No Preferences Pane Short version: Upgraded to Maverick, Android ADT preferences no longer in Eclipse and Android apps fail to run due to missing resources. Long version: On 10.04 Eclipse and the Android ADT plugin were working perfectly. I could run apps in the virtual devices, I could moved them to my Droid2 and they'd run. All libraries were available, and the Preferences pane for Android was in place so I could direct Eclipse to the /tools directory in the SDK. I upgraded to Maverick. Eclipse runs, Java apps run. Android apps? Nada. Eclipse can't find any of the tools. ADB isn't available, so errors galore. Attempted resolution: Removed Android plugins, reinstalled. Nothing. Removed Android plugins, completely removed Eclipse, and removed Android SDK. Redownloaded the SDK, installed Eclipse, installed the Android plugins through Eclips (help>Install New Software). Install went fine. Restarted Eclipse - still nothing for Android in the Preferences pane, nor anywhere else. Anybody have a solution? Details; Eclipse SDK Version: 3.5.2 Build id: M20100211-1343 Android DDMS 0.9.9.v201009221407-60953 Android Development Tools 0.9.9.v201009221407-60953 Ubuntu 10.10 Adv Reply October 13th, 2010 #2 r-senior View Profile View Forum Posts Private Message Iced Blended Vanilla Crème Ubuntu Join Date May 2007 Location Leeds, UK Beans 1,664 DistroU