Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Mobile Development > BOOK: Beginning Android Tablet Application Development
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning Android Tablet Application Development
This is the forum to discuss the Wrox book Beginning Android Tablet Application Development by Wei-Meng Lee; ISBN: 978-1-1181-0673-0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Android Tablet Application Development section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Display Modes
  #1 (permalink)  
Old August 11th, 2011, 12:13 AM
Registered User
 
Join Date: Aug 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Can't Creat an Android Virtual Device

I followed the instructions given on pages 11, 12, and 13 in the book for creating a virtual device. To run the virtual device I selected it and clicked on Start. But then I get an error m message saying invalid command line parameter This is fishy because I am not supplying any command line parameters. In the steps given in the book there is no place where one can enter a command line parameter.

Could a later version on the Android SDK than what the author used to write the book cause this problem.

What should I do to get a virtual device to run?

Howard
  #2 (permalink)  
Old August 11th, 2011, 12:17 PM
Registered User
 
Join Date: Aug 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Reply to Can't create an Android Virtual device

Problem solved. Problem was caused by a space in the directory path for the Android SDK. Fixed problem by uninstalling the SDK and installing the SDK in a directory with out any spaces in the path name.

Searching the web produce the following information.

"When I try to launch my Android Virtual Device, I get the following error.

Files\Android\android-sdk-windows\tools/emulator-arm.exe.
Hint: use '@foo' to launch a virtual device named 'foo'.
Please use -help for more information.

I have been using the emulator for months, and I just downloaded new updates from SDK/AVD Manager."

"This problem is caused by blank spaces in the path you setup in the Android SDK. The solution is that you should move the folder of the Android SDK to a place without spaces, in your case:

E:\andriod-sdk-windows

or

D:\abc\xyz\android-sdk-windows"

Conclusion this problem was caused by a bug in the latest version of the SDK.

Howard
 


Thread Tools
Display Modes

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Android SDK/Android.bat does not find SWT.jar file chaoticandroid BOOK: Professional Android 2 Application Development 1 March 23rd, 2011 06:39 PM
how to creat a file object hafizmuhammadmushtaq Java Basics 3 April 8th, 2008 02:42 AM
How to creat an user account prad_a PHP Databases 1 May 12th, 2007 03:25 AM
How do I creat a .dll file dbrooks Classic ASP Components 1 July 8th, 2006 03:29 AM
Creat/modify reports during runtime ET Crystal Reports 0 March 16th, 2004 05:02 AM



All times are GMT -4. The time now is 09:55 AM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.