Thread th = new Thread(){
public void run()
{
try{
sleep(5000);
}
catch(InterruptedException e){
e.printStackTrace();
}
finally{
Intent openMainActivity = new Intent("com.askselva.simple.MENU");
startActivity(openMainActivity);
}
}
};
th.start(); //Error -1
错误 1:令牌“开始”上的语法错误,此令牌后应有标识符