I have recently got into writing android apps and have hit a brick wall very early on that I can't figure out, and i'm sure it's mind numbingly simple.
Everytime I run it in my emulator, I get the "Stopped unexpectedly" error :/
The main ".java" file and the main.xml are in there, just scroll down.
EDIT: Fixed now, just needed a simple clean :3
Somewhere in your layout XML, there's an invalid element named EditText2
. There's no such view in the Android SDK, remove the "2".
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.