Football Fans: Download the 2012 Schedule App from Google Play!


Go Back   Android Forums > Android Development > Application Development > Developer 101

Developer 101 101 Tutorials



Reply
 
LinkBack Thread Tools
Old April 15th, 2010, 01:24 PM   #1 (permalink)
Member
 
punky's Avatar
 
Join Date: Apr 2010
Location: London, UK
Posts: 114
 
Device(s): HTC Desire
Thanks: 48
Thanked 6 Times in 5 Posts
Default Activity won't install and run from SDK

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.

punky is offline  
Reply With Quote
Sponsors
Old April 15th, 2010, 02:19 PM   #2 (permalink)
Member
 
punky's Avatar
 
Join Date: Apr 2010
Location: London, UK
Posts: 114
 
Device(s): HTC Desire
Thanks: 48
Thanked 6 Times in 5 Posts
Default

I have also tried manually setting my activity to launch in the run configuration dialog but that doesn't launch anything either.
punky is offline  
Reply With Quote
Old April 15th, 2010, 06:28 PM   #3 (permalink)
Member
 
punky's Avatar
 
Join Date: Apr 2010
Location: London, UK
Posts: 114
 
Device(s): HTC Desire
Thanks: 48
Thanked 6 Times in 5 Posts
Default

Well, I fixed it by following the advice here: Troubleshooting | Android Developers

While the emulator was running, I ran the command:

Quote:
adb kill-server
and then it said to run another command to restart the server so I did

Quote:
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!
punky is offline  
Reply With Quote
Reply

Bookmarks


Go Back   Android Forums > Android Development > Application Development > Developer 101 User CP
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Phone reboot during app install - can't finish or cancel install drako Incredible - Support and Troubleshooting 5 December 7th, 2011 10:25 AM
Making an adroid activity as the default activity? nackasha Application Development 2 January 4th, 2011 12:39 AM
Finish activity from another activity Tollas Application Development 0 July 2nd, 2010 04:22 PM
Downloaded update via wifi and did not auto install, how do i install it? gameday26 HTC EVO 4G 3 June 30th, 2010 12:21 PM
SMS Activity Log? d4vyt HTC Hero 4 August 3rd, 2009 03:08 AM



All times are GMT -5. The time now is 08:27 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Custom vBulletin Skins by: Relivo