Go Back   Android Forums > Android Development > Application Development
Application Development Dev lounge for our application developers.

Find everything you need for the Galaxy S5 and discuss it in our S5 forum!
Have you seen that OnePlus One's awesome camera?? The forum is over here!

test: Reply
 
LinkBack Thread Tools
Old June 30th, 2010, 04:31 PM   #1 (permalink)
New Member
Thread Author (OP)
 
Join Date: Jun 2010
Posts: 7
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Question Problems getting Eclipse/Android installed.

I hope I am posting this to the correct forum. I'm really getting frustrated by this experience. For the last three days I have been trying to install Java, Eclipse, Android SDK to get to work learning Android development. I've installed, deleted and reinstalled about 7 or 8 times now from various text and video tutorials. This being one of them (Android Development Tutorial - Froyo).

First I should mention what I have and what I am installing.

o Windows 7 x64 (with latest Microsoft updates)
o E5345 Xeon quad core CPU
o 8gig of ram
o Way to much disk space

o Eclipse IDE for Java Developers 3.6 (Helios)
o Android SDK API level 8 (Froyo)
o Java EE 6 (GlassFish)

The problem always occurs during the "first android application" part of the tutorials. When I open strings.xml under res/values and click on the Resource tab I show nothing listed in the Resource Elements box. The tutorials say I should see "Hello (String)" and "app_name (String) (screen capture: Picasa Web Albums - Albion - Hold). If I click in the box where those strings should be I can see an empty area being highlighted and I get the error: "An Error has occurred. See error log for more details. java.lang.NullPointerException". If I switch from the Resource tab to the strings.xml tab and attempt to chance something in the text, for each character I type I get "java.lang.NullPointerException: An error has occurred. See error log for more details" (screen capture: Picasa Web Albums - Albion - Hold). These issues occur every time I try to install the packages, no matter how close I follow the tutorials.

Does anyone have any clues as to why this is happening? I can't find anything searching Google or any of the forums out there.

Thanks

-Craig

albion is offline  
Reply With Quote
sponsored links
Old June 30th, 2010, 06:09 PM   #2 (permalink)
New Member
 
Join Date: Jun 2010
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Change your <resources> tag to:

<resources xmlns:android="http://schemas.android.com/apk/res/android">

Works like a charm.
Robamaton is offline  
Last edited by Robamaton; June 30th, 2010 at 06:11 PM.
Reply With Quote
Old June 30th, 2010, 09:26 PM   #3 (permalink)
New Member
Thread Author (OP)
 
Join Date: Jun 2010
Posts: 7
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

At first it didn't work, but then I restarted eclipse and now all is well!!

Thank you VERY much!

-Craig
albion is offline  
Reply With Quote
Old July 6th, 2010, 04:46 AM   #4 (permalink)
Member
 
Join Date: Nov 2009
Posts: 178
 
Device(s):
Carrier: Not Provided

Thanks: 15
Thanked 58 Times in 11 Posts
Default

Quote:
Originally Posted by albion View Post
At first it didn't work, but then I restarted eclipse and now all is well!!

Thank you VERY much!

-Craig

Yeah, when in doubt restart Eclipse for any changes.
ramiss is offline  
Reply With Quote
Old July 14th, 2010, 08:07 AM   #5 (permalink)
New Member
 
Join Date: Jul 2010
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

I guess this must be a problem with the template, anyone got a solution to fix the template?

-Carl
eraserhead-irl is offline  
Reply With Quote
Old July 14th, 2010, 11:37 AM   #6 (permalink)
Junior Member
 
Join Date: Jun 2010
Location: Wisconsin
Posts: 29
 
Device(s): Motorola Droid 1
Carrier: Not Provided

Thanks: 2
Thanked 1 Time in 1 Post
Default

Also, the current android adt doesn't work properly with eclipse 3.6. So I would suggest using eclipse 3.5 until the adt is fully functional with the current version.
Jacob Malliet is offline  
Reply With Quote
Old July 25th, 2010, 06:19 AM   #7 (permalink)
New Member
 
Join Date: Jul 2010
Posts: 10
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default Sorry to be slow...

I've just started with Eclipse and having the same problem; where do I set the tag? Is it in a file or a setting within Eclipse?

-Andrew

Quote:
Originally Posted by Robamaton View Post
Change your <resources> tag to:

<resources xmlns:android="http://schemas.android.com/apk/res/android">

Works like a charm.
apepper is offline  
Reply With Quote
Old July 27th, 2010, 12:11 PM   #8 (permalink)
New Member
 
Join Date: Jul 2010
Posts: 10
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by apepper View Post
I've just started with Eclipse and having the same problem; where do I set the tag? Is it in a file or a setting within Eclipse?

-Andrew
I've found where to fix this; opening strings.xml with the text editor showed the media tag.
apepper is offline  
Reply With Quote
Reply
Tags
android 2.2, eclipse helios, install


Go Back   Android Forums > Android Development > Application Development
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 11:27 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.