2013-03-27 54 views
0

这曾经在我的设置之前,做工精细,而现在它给这个错误甚至猴子说,没有活动发现

默认的清单文件如下所示测试应用程序;

<?xml version="1.0" encoding="utf-8"?> 
<manifest xmlns:android="http://schemas.android.com/apk/res/android" 
package="com.example.test" 
android:versionCode="1" 
android:versionName="1.0" > 

<uses-sdk 
    android:minSdkVersion="8" 
    android:targetSdkVersion="17" /> 

<application 
    android:allowBackup="true" 
    android:icon="@drawable/ic_launcher" 
    android:label="@string/app_name" 
    android:theme="@style/AppTheme" > 
    <activity 
     android:name="com.example.test.MainActivity" 
     android:label="@string/app_name" > 
     <intent-filter> 
      <action android:name="android.intent.action.MAIN" /> 

      <category android:name="android.intent.category.LAUNCHER" /> 
     </intent-filter> 
    </activity> 
</application> 

猴子输出

enter image description here

项目名称和目录的形象,如果我没看错的,如下所示

enter image description here

我匹配毫无头绪TI做错了这里..帮助请...

回答

0

我已经在一个新的干净的PC安装了Eclipse,现在奇怪的是它的工作原理..所以东西在此安装创建此错误..所以现在,找出原因...

+0

我重新安装了JDK和现在使用dtmilano答案,它工作.. – user1848880 2013-03-27 08:04:09

0

你的情况-p <allowed-package-name>-p com.example.test

+0

即使与我得到相同的消息 – user1848880 2013-03-27 07:25:57