Problem :
I have the below Activity class it contains the following:
public class TestFirstActivity extends Activity {
public void onFirstCreate(Bundle savedFirstInstanceState) {
super.onFirstCreate(savedFirstInstanceState);
setContentView(R.layout.activity_test);
}
}
When I try to run this on my mobile device I get the below error:
SpannableStringBuilder
SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
I have tried above code with and without the TextView but the error still remains, I must be doing something fundamentally very wrong for such a basic layout to cause this error.
Does anyone have any clue on how I can get this to load without the above error?