I was trying to run a sample code While launching the application in the android 1.5 emulator , I got these errors.... Any one have some hint..?
ERROR from LogCat:<
In my case I haven't set the setContentView(R.layout.main);
setContentView(R.layout.main);
If you create a new class do not foget to set this in on onCreate(Bundle savedInstanceState) method.
onCreate(Bundle savedInstanceState)
I have done this stupid mistake several times.