1

I have a problem with my Eclipse ADT. Everytime I create an Android Application project, the program crashes with no reason.

I thought that the problem was because of the Eclipse ADT version, so I downloaded the normal Eclipse and tested it. I have not had problems there so far. Only at the Eclipse ADT version. I also downloaded the newest Eclipse ADT from developer.android.com, but it changed nothing.

Operating system : Opensuse 13.1

seaotternerd
  • 6,298
  • 2
  • 47
  • 58
Exxo
  • 11
  • 3

4 Answers4

8

I was having the same problem, I found the answer here. Adding the following line to the end of the eclipse.ini file has so far solved the issue for me:

-Dorg.eclipse.swt.browser.DefaultType=mozilla

Hope that helps!

Jackson

Community
  • 1
  • 1
JacksonWeekes
  • 312
  • 3
  • 11
2

Maybe is adb problem, as I know, adb is use 5073 as default port, sometime it will be occupied by other process. try adb shell to find out does it work fines.

whb_zju
  • 133
  • 1
  • 1
  • 10
0

Well, this is a very common problem, sometimes you cannot do anything, either the adb will not respond, or it will crash. As you are working on linux so, "ADB not responding" is not so often. ADB uses port number 5037, so probably when you start your Application another instance of the same process gets created trying to access the same port number.

Check this answer,here she has told about changing the default port number. Try this, may this work. Well Apart from this, I would add ADB is a burden. It is like a bull, powerful but of his own mood.

Community
  • 1
  • 1
Veer Shrivastav
  • 5,434
  • 11
  • 53
  • 83
0

Start eclipse from the terminal, and reproduce the error. Some information will be printed out to the terminal by the jvm when the crash occurs, which may be helpful in diagnosing your problem.

mancini0
  • 4,285
  • 1
  • 29
  • 31