Sunday 10 January 2010

Error when Running or Debugging an Android app from Eclipse with your Phone plugged in

As you can probably guess from this post, I've got my self a new phone. It's a T-Mobile G2, otherwise known as an HTC Hero.

I've been dicking around with the SDK and the Eclipse ADT plugin since I got it on Friday.

Today, I've started running into an error where Eclipse says an error occurred when I try to Run or Debug the application on my hardware (not an AVD).

Here is the full error from the Eclipse error log.

null
Error
Sun Jan 10 18:27:37 GMT 2010
An internal error occurred during: "Launching Notepadv2".

java.lang.NullPointerException
at com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController.launch(Unknown Source)
at com.android.ide.eclipse.adt.internal.launch.LaunchConfigDelegate.doLaunch(Unknown Source)
at com.android.ide.eclipse.adt.internal.launch.LaunchConfigDelegate.launch(Unknown Source)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:853)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:866)
at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1069)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)


So, I started Googling and didn't really find much but I do seem to have sorted it.All I did was close Eclipse, unplug my phone from the USB lead. Reconnect my phone, and fire Eclipse up again.

That seems to do the trick.

29 comments:

  1. I'll immediately grasp your rss feed as I can not to find your email subscription hyperlink or newsletter service. Do you have any? Kindly permit me understand so that I may subscribe. Thanks.

    Feel free to visit my site ... kredit trotz negativer schufa Und arbeitslosigkeit
    Also see my page > kredit trotz schufa

    ReplyDelete
  2. This is a great tip especially to those fresh to
    the blogosphere. Simple but very accurate information… Appreciate your sharing this one.
    A must read article!

    Also visit my webpage; gesetzliche private krankenversicherung

    ReplyDelete
  3. With havin so much content do you ever run into any problems of plagorism or copyright violation?
    My site has a lot of exclusive content I've either created myself or outsourced but it appears a lot of it is popping it up all over the web without my authorization. Do you know any solutions to help stop content from being stolen? I'd truly appreciate it.



    Here is my web page; top affiliate Program

    ReplyDelete
  4. Hello there! Quick question that's entirely off topic. Do you know how to make your site mobile friendly? My web site looks weird when browsing from my iphone. I'm trying to find a template or plugin that might be able to resolve this issue.
    If you have any recommendations, please share. Many thanks!


    My website - pkv forum

    ReplyDelete
  5. I think the admin of this web site is really working
    hard in support of his website, because here every data is
    quality based data.

    Here is my web blog; natural search engine optimization

    ReplyDelete
  6. I wanted to thank you for this excellent read!! I definitely loved every bit of it.
    I've got you saved as a favorite to check out new stuff you post…

    Also visit my web page - online designer shopping

    ReplyDelete
  7. We're a group of volunteers and starting a new scheme in our community. Your web site offered us with valuable information to work on. You've done a
    formidable job and our whole community will be thankful to
    you.

    Look into my website ... best website hosting and design

    ReplyDelete
  8. I don't even know how I ended up here, but I thought this post was great. I don't
    know who you are but definitely you are going to
    a famous blogger if you are not already ;) Cheers!

    Look at my blog ... ideas for business to start

    ReplyDelete
  9. Everything is very open with a clear clarification of
    the issues. It was really informative. Your website is extremely helpful.
    Many thanks for sharing!

    Here is my web-site: private pflegeversicherung vergleich

    ReplyDelete
  10. wonderful post, very informative. I wonder why the other specialists of this
    sector don't realize this. You should proceed your writing. I'm confident, you've a great readers' base already!


    my web blog ... Search Engine Optimization Submission
    my site: seo company rankings

    ReplyDelete
  11. This article will help the internet users for creating new web site or even
    a blog from start to end.

    Visit my webpage Read �
    My web site > just click the following document

    ReplyDelete
  12. I do not know if it's just me or if perhaps everybody else experiencing problems with your website. It appears as though some of the text in your posts are running off the screen. Can somebody else please comment and let me know if this is happening to them as well? This might be a problem with my internet browser because I've
    had this happen before. Thanks

    Also visit my blog post ... business home based

    ReplyDelete
  13. I know this web page presents quality based content and extra data, is there any other web site which provides these things in quality?


    my website :: 404 Not Found

    ReplyDelete
  14. I'm really loving the theme/design of your web site. Do you ever run into any web browser compatibility issues? A couple of my blog readers have complained about my site not working correctly in Explorer but looks great in Opera. Do you have any recommendations to help fix this issue?

    Also visit my weblog: home work business

    ReplyDelete
  15. For most up-to-date information you have to go to see world wide web and on web I found this web
    site as a best web page for most up-to-date updates.

    Also visit my website - loan bad Credit

    ReplyDelete
  16. This is very attention-grabbing, You're an overly professional blogger. I've
    joined your feed and stay up for looking for extra of your fantastic post.
    Additionally, I have shared your site in my social networks

    Visit my webpage :: reseller hosting cheap

    ReplyDelete
  17. Hiya! I know this is kinda off topic however I'd figured I'd ask.
    Would you be interested in exchanging links or maybe guest writing a blog
    post or vice-versa? My site addresses a lot of the same
    topics as yours and I think we could greatly benefit
    from each other. If you happen to be interested feel free to send me an email.
    I look forward to hearing from you! Awesome blog by the way!


    Feel free to visit my blog: click the next website page

    ReplyDelete
  18. For hottest information you have to visit internet and on web I found this web page as a most excellent web page for newest updates.


    Here is my homepage - seo london

    ReplyDelete
  19. Appreciating the hard work you put into your site and
    in depth information you offer. It's nice to come across a blog every once in a while that isn't the same out of date rehashed material.
    Excellent read! I've saved your site and I'm including your RSS feeds to my Google account.



    Also visit my page; kleider günstig kaufen online

    ReplyDelete
  20. I love what you guys are up too. This type of clever work and coverage!
    Keep up the amazing works guys I've included you guys to our blogroll.

    My page ... kostenlos schufa
    My site - geld trotz negativer schufa

    ReplyDelete
  21. Very good information. Lucky me I recently found your blog by chance (stumbleupon).

    I've book-marked it for later!

    my homepage: make money with amazon
    My website - promote clickbank

    ReplyDelete
  22. We are a group of volunteers and starting a new scheme in our community.

    Your website offered us with valuable info to work
    on. You've done an impressive job and our entire community will be thankful to you.

    Feel free to surf to my webpage :: work from home san antonio

    ReplyDelete
  23. I am really enjoying the theme/design of your web site.
    Do you ever run into any web browser compatibility
    issues? A handful of my blog audience have complained about my website not operating correctly in Explorer but looks great in Chrome.
    Do you have any ideas to help fix this problem?


    Here is my website best entrepreneur business ideas
    my website > Read �

    ReplyDelete
  24. We're a bunch of volunteers and starting a new scheme in our community. Your web site provided us with useful information to work on. You have done an impressive task and our entire community will likely be thankful to you.

    Also visit my page krankenversicherungsbeitrag

    ReplyDelete
  25. Pretty nice post. I just stumbled upon your blog and wished to say that
    I have truly enjoyed surfing around your blog posts. After all I will be subscribing to your
    feed and I hope you write again soon!

    My web site - mouse click the following internet site

    ReplyDelete
  26. What's Going down i am new to this, I stumbled upon this I have found It positively useful and it has helped me out loads. I'm hoping to give
    a contribution & assist other users like its helped me.
    Good job.

    my web blog ... Günstig Reisen Türkei

    ReplyDelete
  27. Good way of telling, and nice piece of writing to take information concerning my presentation topic, which i am going to convey in
    university.

    my homepage; Highly recommended Internet site

    ReplyDelete
  28. In exploring websites related to web hosting and linux web hosting plan comparison, specifically, the internet site has been created.


    Also visit my blog post - refinance with home equity loan

    ReplyDelete
  29. Do not hastеn the discussion, Ԁuгing the period of tіme gap, plan ѕtrategʏ on how yoս can win your ex-boyfгiend.

    The fɑct that you ѡant to overcome the psychological and social baгrier will prove
    him that you consider him speсial and that
    you feel comfortɑble in ɦis presence. It is liƙely to
    require some time, energy and effort, but if it is really
    ѕeriously something yoս wοuld like, if this really is something
    well worth battling for - don your power
    ѕuit and get down wօrking on it.

    Here is my site :: Make Him Desire You Free Download

    ReplyDelete