• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Activity won't install and run from SDK

punky

Well-Known Member
Apr 5, 2010
116
7
London, UK
Trying to comile the HelloAndroid example from here: Hello, World | Android Developers

It says it should install and run automatically when run, but for me, it doesn't. The emulator boots up to a lock screen and stays there. Nothing happens when you unlock it. It doesn't appear in the applications drawer.

"Launch default activity" is set in the run configurations dialog.

Anything else I can check?

Many thanks in advance.
 
Well, I fixed it by following the advice here: Troubleshooting | Android Developers

While the emulator was running, I ran the command:

adb kill-server

and then it said to run another command to restart the server so I did

adb devices

It then said the ADB server was out of date, killed it and restarted it. The emulator appeared in the adb devices list. It also appeared in DDMS. Re-ran the activity without closing the emulator and it loaded. Hurrah!
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones