{"id":527,"date":"2010-05-04T18:49:10","date_gmt":"2010-05-04T17:49:10","guid":{"rendered":"http:\/\/www.lightsoft.se\/?p=527"},"modified":"2010-05-04T18:50:17","modified_gmt":"2010-05-04T17:50:17","slug":"ddms-not-finding-emulator","status":"publish","type":"post","link":"https:\/\/www.lightsoftai.com\/?p=527","title":{"rendered":"DDMS not finding Emulator?"},"content":{"rendered":"<p><a href=\"http:\/\/www.lightsoft.se\/_lightsoft\/wp-content\/uploads\/2010\/02\/android_logo.gif\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.lightsoft.se\/_lightsoft\/wp-content\/uploads\/2010\/02\/android_logo-150x150.gif\" alt=\"\" title=\"android_logo\" width=\"150\" height=\"150\" class=\"alignright size-thumbnail wp-image-520\" \/><\/a><br \/>\nWhen developing in eclipse with Android applications there is some buggy things that comes up once a while.<\/p>\n<p>One is that the DDMS do not find the emulator, and there is no log when the Android is starting up, which also means that you do not see anything and cannot debug your app.<\/p>\n<p>There are some ways of fixing this.. all need a console (cmd) to type in.<\/p>\n<p><strong>Try using the \u00e2\u20ac\u0153Reset adb\u00e2\u20ac\u009d option from the DDMS Devices view menu, or restarting the server at the command line:<\/strong><br \/>\n[sourcecode language=&#8221;csharp&#8221;]adb kill-server<br \/>\nadb start-server [\/sourcecode]<\/p>\n<p><strong>If that does not work, then try this instead:<\/strong><br \/>\nStart Emulator, wait for it to come up, then type the following<br \/>\n[sourcecode language=&#8221;bash&#8221;]adb kill-server<br \/>\nadb logcat -c[\/sourcecode]<\/p>\n<p>If lucky, the logcat command promt will restart the process and you will find the log to start in both eclise and command-promt. This will also give DDMS the right push to find the emulator and it is now possible to debug it in Eclipse. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>When developing in eclipse with Android applications there is some buggy things that comes up once a while. One is that the DDMS do not find the emulator, and there is no log when the Android is starting up, which also means that you do not see anything and cannot debug your app. There are [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[75,49],"class_list":["post-527","post","type-post","status-publish","format-standard","hentry","category-coding","tag-android","tag-eclipse"],"_links":{"self":[{"href":"https:\/\/www.lightsoftai.com\/index.php?rest_route=\/wp\/v2\/posts\/527","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lightsoftai.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lightsoftai.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lightsoftai.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lightsoftai.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=527"}],"version-history":[{"count":11,"href":"https:\/\/www.lightsoftai.com\/index.php?rest_route=\/wp\/v2\/posts\/527\/revisions"}],"predecessor-version":[{"id":538,"href":"https:\/\/www.lightsoftai.com\/index.php?rest_route=\/wp\/v2\/posts\/527\/revisions\/538"}],"wp:attachment":[{"href":"https:\/\/www.lightsoftai.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=527"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lightsoftai.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=527"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lightsoftai.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=527"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}