Timer is a TextView and during run times throws error
[threadid=1: thread exiting with uncaught exception (group=0xa4b5c648)]
[FATAL EXCEPTION: main]
[android.content.res.Resources$NotFoundException: String resource ID #0x0]
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.level_twolayout);
Thread t1 = new Thread() {
public void run() {
for (int i = 0; i < 10; i++) {
try {
sleep(1000);
} catch (Exception e) {
}
error--------> Timer.setText(i);
}
}
};t1.start();
}