• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Difficulty Following the Book Example

 
Greenhorn
Posts: 7
Eclipse IDE Firefox Browser
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.

Thank you!

 
Ranch Hand
Posts: 72
Android Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Do this

File -> New -> Project -> expand Android.

The Android application project wizard was changed in last version of ADT.
 
Nick Fio
Greenhorn
Posts: 7
Eclipse IDE Firefox Browser
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Suhas Mandrawadkar wrote:
The Android application project wizard was changed in last version of ADT.


Thanks Suhas!

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?
 
permaculture is a more symbiotic relationship with nature so I can be even lazier. Read tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic