Google Android Logo

Related Topics:

Anonymous Posted on Oct 07, 2008

Android Error I keep getting this Android error ? Binary XML file line #2: You must supply a layout_wilih attribute What does this mean? I'm lost here, please help me, Thank you.

1 Answer

Anonymous

Level 2:

An expert who has achieved level 2 by getting 100 points

MVP:

An expert that got 5 achievements.

Novelist:

An expert who has written 50 answers of more than 400 characters.

Governor:

An expert whose answer got voted for 20 times.

  • Expert 111 Answers
  • Posted on Oct 29, 2008
Anonymous
Expert
Level 2:

An expert who has achieved level 2 by getting 100 points

MVP:

An expert that got 5 achievements.

Novelist:

An expert who has written 50 answers of more than 400 characters.

Governor:

An expert whose answer got voted for 20 times.

Joined: Oct 27, 2008
Answers
111
Questions
0
Helped
120966
Points
200

Hi there,

From the looks of it. your using the Android SDK right ?

have you declared layout_wilih attribute within the SDK? if not you must do that.

Also :

  1. Make sure that the SDK you are building with is the same version as the Android OS that you are running on.
  2. Make sure that you're calling setContentView() early in your onCreate() method. Calling other methods, such as setListAdapter() before calling setContentView() can sometimes create odd errors when Android tries to access screen elements that haven't been set before.
If you have any more problems. go over to http://code.google.com/android/ they will be able to help troubleshoot any more problems you may have !

Add Your Answer

×

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

367 views

Ask a Question

Usually answered in minutes!

Top Google Computers & Internet Experts

Grand Canyon Tech
Grand Canyon Tech

Level 3 Expert

3869 Answers

ADMIN Andrew
ADMIN Andrew

Level 3 Expert

73781 Answers

Kolbrun...

Level 3 Expert

1229 Answers

Are you a Google Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...