Wrox Programmer Forums
|
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 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 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
 
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





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 06:02 AM





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