I do not understand why these errors came out I saw in google that it was because I had a code above setContentView()
but I removed all the code from that java file and I just left the design and still did not close the application.
Remove the design and so if the application runs.