Just after changes in main.xml application run fines on my computer. Try one more time Copy the whole code as you had given in you first post and make changes only in EditText and Button as I told earlier application will definitely run.
Life is easy because we write the source code.....
posted 5 years ago
after weeken，this programe have normal work！
so thank you，i don‘t know by my poor english to how to discrible my thanks, luck to you!