简体   繁体   中英

Running as android application in Eclipse - nothing happens

I have a simple app.

Have textView with "Hello World!". Run once and it worked.

Now I changed text value to "Hello ME!", and I cannot "recompile" aka run with "Run as android app",.. Just nothing happnes.

If I click "Green play button" to start app, It just runs previous app with text "Hello World!".. Which means I can't "recompile".. Coming from C# waters, that is why I am saying recompile.

Any suggestions?

Got this error once:

[2013-02-22 19:32:35 - ddmlib] An established connection was aborted by the software in your host machine java.io.IOException: An established connection was aborted by the software in your host machine

i have faced this problem many time . and when it occurs i do this 1.open your emulator 2. go to settings>application>yourapp 3.uninstall your app RECOMPILE it works for me whenever this problem occur if its not! then delete your emulator and create a new one restart eclipse! :) it'll work

它总是在您加载Android之后立即运行您的应用程序时发生,您必须等到您的应用程序被Android加载后,才不要自己运行它(例如打开菜单并运行您的应用程序),请耐心等待,但如果没有运行,则需要重新启动应用程序。

This thing worked: http://lesleyharrison.wordpress.com/2011/01/15/solution-for-android-emulator-starts-but-app-doesnt-run/

Slight difference for me is that I checked, "ask everytime which avd to use".. So now I run run configurator->run always when I make change, and select my avd.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM