Wrox Programmer Forums
|
BOOK: Beginning Android Application Development
This is the forum to discuss the Wrox book Beginning Android Application Development by Wei-Meng Lee; ISBN: 978-1-1180-1711-1
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Android Application Development section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 11th, 2012, 06:27 PM
Registered User
 
Join Date: Jan 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 1: HelloWorld will not launch

Hi i wonder if someone can help..ive basically created the project as stated in the book and have typed in the code from page 18. after saving it i tried to run it but keep getting the error window come up stating "emulator-arm.exe has encountered a problem and needs to close"

within the console window i have the following come up


[2012-01-11 22:16:46 - HelloWorld2] Android Launch!
[2012-01-11 22:16:46 - HelloWorld2] adb is running normally.
[2012-01-11 22:16:46 - HelloWorld2] Performing net.learn2develop.HelloWorld2.HelloWorld2Activity activity launch
[2012-01-11 22:16:46 - HelloWorld2] Automatic Target Mode: launching new emulator with compatible AVD 'Android_2.3.3_Emulator'
[2012-01-11 22:16:46 - HelloWorld2] Launching a new emulator with Virtual Device 'Android_2.3.3_Emulator'
[2012-01-11 22:23:52 - HelloWorld2] ------------------------------
[2012-01-11 22:23:52 - HelloWorld2] Android Launch!
[2012-01-11 22:23:52 - HelloWorld2] adb is running normally.
[2012-01-11 22:23:52 - HelloWorld2] Performing net.learn2develop.HelloWorld2.HelloWorld2Activity activity launch
[2012-01-11 22:23:52 - HelloWorld2] Automatic Target Mode: launching new emulator with compatible AVD 'Android_2.3.3_Emulator'
[2012-01-11 22:23:52 - HelloWorld2] Launching a new emulator with Virtual Device 'Android_2.3.3_Emulator'


this suggests that everything is ok with the compiling....if someone can help decipher this i would really appreciate it! :)
 
Old January 11th, 2012, 08:08 PM
Authorized User
 
Join Date: Nov 2011
Posts: 86
Thanks: 3
Thanked 5 Times in 5 Posts
Default

Hi Zahra
It looks as if everything is OK. It takes the emulator a long(very) time to come up. I know at first I was not waiting long enough for it to come up. Read the appendix at the end of the book for some good hints on the emulator and eclipse.
If there is a problem, what happens and what are the error messages?
Hope this helps
Cliff
__________________
"Software to the Stars"
Failure is not an option. It comes bundled with your Microsoft products.





Similar Threads
Thread Thread Starter Forum Replies Last Post
My HelloWorld dont seen to work GFreedom BOOK: Beginning Android Application Development 4 September 9th, 2011 11:41 PM
Chapter 2, Understanding HelloWorld is insufficient. AndrewDover BOOK: Professional Android 2 Application Development 3 July 14th, 2011 01:48 PM
Chapter 1 - HelloWorld Problem rickyjames BOOK: Beginning Android Application Development 3 May 19th, 2011 09:58 PM
Chapter 10 HelloWorld function ChuckASP BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 1 April 2nd, 2010 03:39 PM
Chap 9 HelloWorld Plug problems. chucknb28409 BOOK: Professional Joomla! ISBN: 978-0-470-13394-1 2 June 26th, 2009 07:33 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.