[英]My android app “stops unexpectedly”
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. 我最近开始编写android应用程序,并且很早就碰壁了,因为我无法弄清楚,而且我敢肯定,这很简单。
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. 主“ .java”文件和main.xml位于其中,只需向下滚动即可。
EDIT: Fixed now, just needed a simple clean :3 编辑:现在修复,只需要一个简单的清洁:3
Somewhere in your layout XML, there's an invalid element named EditText2
. 在布局XML中的某个位置,存在一个名为
EditText2
的无效元素。 There's no such view in the Android SDK, remove the "2". Android SDK中没有此类视图,请删除“ 2”。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.