I'm trying to teach myself how to write an Android app via books. For both of these books, I'm finding that the instructions and the pics in the books don't quite jive with what I'm seeing on my computer.
I'm currently trudging along through Grant Allen's Beginning Android 4 and the task at hand is adding Android project files to the Eclipse workspace. The instructions are, "First, choose File ➤➤ New ➤➤ Project from the Eclipse main menu..." Ok. Easy enough. His picture looks like what I'm seeing on my screen (always a good sign!).
But then..."Then, choose Android ➤➤ Android Project from the tree of available project types..." When I do that, there's an "Android Application Project," but no "Android Project. That's gotta be the same thing...right???
And then the wheels come off: "Then, on the first page of the New Android Project wizard, choose the “Create project from existing source” radio button, click the Browse button, and open the directory containing your project’s AndroidManifest.xml file." There isn't any radio buttons and the book's image looks really different from what I'm seeing on my machine.
Thinking that the book was perhaps written before Juno was released, I installed Eclipse Indigo and followed the instructions; however...the same thing. And I had this same issue with another book that I was working with.
So what causes the discrepancy? Is it because the author is perhaps using a Mac? Does it have something to do with with me using a newer SDK? While I'm learning, it would sure make life easier if my stuff looked exactly like the author's.
Suhas Mandrawadkar wrote:
The Android application project wizard was changed in last version of ADT.
Ah! Ok. So it looks like I have to make a choice here: 1) If I want my stuff to look like the book's author, I need to get rid of the new ADT and the new SDK and replace them with older versions; or, 2) Learn to do stuff with the new stuff.
If I choose the latter, how do I import a non-Eclipse Project such as the book author's sample projects (from here) and create a project from an existing source?
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop