I also get this problem.
Even just editing the xml by hand using the xml tab I get errors for
every letter I type. It does still let me save and it does compile
successfully. I'm also on Windows 7 64bit

On Jul 1, 4:38 am, Zigurd <[email protected]> wrote:
> Does your question 1 refer to the step in installation where you use
> the AVD and SDK Manager to install build target packages? If so, you
> can choose to install all of them without using up too much space on a
> big machine. If you install all of the build targets you will be sure
> to be compatible with example code that is set up for various API
> levels.
>
> A null pointer exception reported in Eclipse that occurs in an Android
> XML editor usually means the visual editor could not interpret or
> create the XML correctly. The most common case I see that is
> attempting to use a layout editor where a View class has been
> subclassed and the subclass name is used in the layout - the layout
> editor can't handle that. So I suspect you have encountered something
> similar. Edit the XML "by hand" - switch to the xml view using the
> tabs at the bottom of the editor pane - and make sure that there are
> no errors in the XML file.
>
> On Jun 30, 10:01 am, Albion <[email protected]> wrote:
>
>
>
> > I've been following the tutorial at this 
> > page...http://www.vogella.de/articles/Android/article.html
>
> > I had originally sent an e-mail to the author of the tutorial who
> > promptly told me that I shouldn't e-mail him about his tutorial, but
> > should ask this group instead.  Below is a copy of the e-mail I sent
> > him, I am hoping someone here can help.
>
> > --
>
> > I am running Windows 7 Business x64 with the latest Microsoft
> > updates.  Eclipse Helios Build: 20100617-1415 (IDE for Java
> > Developers), Android SDK r06, Android Developer Tools
> > 0.9.7.v201005071157-36220, Java JDK 6 update 20.  All on a Quad core
> > E5345 with 8gig of RAM and lots and lots of hard drive space (space
> > isn't an issue).
>
> > 1)  In Section 2.3 under "Select available packages and select the
> > latest version of the SDK." your tutorial tells me to select all of
> > the Android 2.2 packages.  What if I only want to code in Android
> > 1.6?  Will I also need to get the 1.6 packages?  The same for 2.1?
>
> > 2) In section 4.3 you tell me to open strings.xml under res/values.
> > When I select the resource tab for strings.xml there is nothing listed
> > under Resource Elements, where you say I should see "hello (String)"
> > and "app_name (String)".  When I try to add an element or do anything
> > else with the elements listed I get an error:  "An error has
> > occurred.  See error log for more details.
> > java.lang.NullPointerException."  Even when I select the strings.xml
> > tab next to the resource tab and try to manually change the text, for
> > each character I type I get the same error.  Google has turned up
> > nothing for that error on Eclipse with Android.  I've tried completely
> > removing and reinstalling Eclipse and Android SDK, making sure I
> > followed your tutorial for both Eclipse install and Android install
> > much much closer.  When I got back to the point of section 4.3 I got
> > the same errors.
>
> > All in all I tried reinstalling both Eclipse and Android SDK 3 times,
> > following your tutorial closer each time, with the same result.  Any
> > ideas what I may be doing wrong?
>
> > I really appreciate the tutorial and your help.  Thanks
>
> > --
>
> > -Craig

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to