tags:

views:

19

answers:

2

"java.lang.RuntimeException: Unable to start activity ComponentInfo : android.view.InflateException: Binary XML file line #2: Error inflating class android.widget.LinearLayout"

I am getting this error can anyone help me?

+1  A: 

We'd need a little more of your output to know for sure but my bet is your layout is lacking either layout_width or layout_height. Can you please post a little more extended context for your exceptions (a few lines before, a few lines after the line you already posted) ?

Jean
i agree, this is likely the problem
mtmurdock
thnx...i solved that error...thank you again
shripal
A: 

i am also getting same error in this code...

Mehul