这是我的第一个 android程序,下面是 错误信息
忘了告诉你们了,我是在android模拟器下运行的,没有用手机跑
[2014-08-21 00:00:28 - test] ------------------------------
[2014-08-21 00:00:28 - test] Android Launch!
[2014-08-21 00:00:28 - test] adb is running normally.
[2014-08-21 00:00:28 - test] Performing com.example.test.MainActivity activity launch
[2014-08-21 00:00:28 - test] Uploading test.apk onto device '94488e54'
[2014-08-21 00:00:28 - test] Installing test.apk...
[2014-08-21 00:00:29 - test] Installation error: INSTALL_CANCELED_BY_USER
[2014-08-21 00:00:29 - test] Please check logcat output for more details.
[2014-08-21 00:00:29 - test] Launch canceled!
这是代码
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context="com.example.test.MainActivity" >
android:id="@+id/textView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="姓名"
android:textSize="28sp"
/>
android:id="@+id/editText1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBottom="@+id/textView1"
android:layout_alignParentRight="true"
android:layout_marginRight="17dp"
android:ems="10"
android:hint="请输入姓名" />