Android LinearLayout Null Exception
I created a id in XML for my LinearLayout but getting null pointer exception. I didn't understand what went as i not receiving any syntax error. Here is my java code private OnClic
Solution 1:
Obvious NullPointerException. Please check if your activity_credit_score_from.xml
actually contains a layout with that id. If everything's correct, clean your project (Project => Clean). Eclipse is a terrible IDE and loves suffering developers.
Solution 2:
there is no @id in the activity_credit_score_from.xml
this is what i created in my IDs.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<item
name="newBtnLayoutList"
type="id"/>
<item
name="newEntriesBtn"
type="id"/>
</resources>
Post a Comment for "Android LinearLayout Null Exception"