Wrox Programmer Forums
|
BOOK: Professional Android 2 Application Development
This is the forum to discuss the Wrox book Professional Android 2 Application Development, 2nd Edition by Reto Meier; ISBN: 978-0-470-56552-0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Android 2 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 October 7th, 2011, 05:12 PM
Registered User
 
Join Date: Oct 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 2 - "Dalvik error"

While building the To Do List from ch. 2 I've had no errors until the end. There are no error markers in the code itself, and I've double checked it against the code download. It all looks good. When I save the project (and ensure a clean build by clicking "Project > Clean" from the menu bar) I get a long response in the Console tab at the bottom of the Eclipse workspace.

It essentially says that I'm trying to define a class in a core namespace. The first two paragraphs say this:
Code:
 Ill-advised or mistaken usage of a core class (java.* or javax.*) when not building a core library. 

This is often due to inadvertently including a core library file in your application's project, when using an IDE (such as Eclipse). If you are sure you're not intentionally defining a core class, then this is the most likely explanation of what's going on.
In my gut I think it may be related to the way the workspace was defined, but I really don't know for sure. Anyone see this before? I can't compile until its fixed.

the last part of the message is really great too! I had to share . . .
Code:
If you find that you cannot do this, then that is an indication that the path you are on will ultimately lead to pain, suffering, grief, and lamentation.
Thanks

Last edited by drdieckmeyer; October 7th, 2011 at 05:14 PM..





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 2:Dialog project "force close" error ichthus BOOK: Beginning Android Application Development 4 May 16th, 2011 11:16 AM
Chapter 15. "Sign Up for new account" gets error: 26 - Error Locating Server/Instance Tanya Roslyakova BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 3 March 8th, 2011 10:34 AM
MSXSL gives error message for "for" inside "select" ilyaz XSLT 1 December 9th, 2010 05:02 PM
"Conversion to Dalvik format failed with error 1" egg86 BOOK: Professional Android 2 Application Development 1 September 24th, 2010 03:11 PM
Add a CheckBox DataColumn to my DataGridView, Null format: "" or "True" but Error: F ismailc C# 2005 0 September 25th, 2009 04:56 AM





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