Skip to content Skip to sidebar Skip to footer

Cannot Run Android Project

I have been building my Android application for 2 years and I have never once had this problem until now. When I load Eclipse, there is a little progress bar in the bottom right co

Solution 1:

The First thing I do is

  • make sure you save your project and all it's resources in a different location to keep it safe if something goes wrong, this is a good idea in general (personally i use drop box so that even if something gets worse i can still recover it)

  • Try closing eclipse and starting again, if you get the chance try it while plugged into your router with a Ethernet wire.

  • Make sure to check that Eclipse is up to date so that there are definitively no conflicts.

  • If this doesn't work try un-installing and re-installing eclipse.

good luck.

Solution 2:

As far as I could tell, this solved the problem:

  1. Disable internet connection. In my case, this simply meant turning off wireless.
  2. Launch Eclipse. Everything will load fine.
  3. Re-enable internet.
  4. Close Eclipse.

Now opening Eclipse is fine.

Solution 3:

Suddenly today I'm having the same issue, except I don't have a Android Library Update message, turning off internet also helped start the project for me:

enter image description here

I opened up WireShark to investigate why it was relying on an internet connection at startup and I found it was making some HTTP call to http://developer.android.com/reference/

enter image description here

Adding the following line to my /etc/hosts file allows me to start up the project with the internet on:

127.0.0.1       developer.android.com

Post a Comment for "Cannot Run Android Project"