0
[2013-05-17 03:56:29 - beginner] Android Launch!
[2013-05-17 03:56:29 - beginner] adb is running normally.
[2013-05-17 03:56:29 - beginner] No Launcher activity found!
[2013-05-17 03:56:29 - beginner] The launch will only sync the application package on the device!
[2013-05-17 03:56:29 - beginner] Performing sync
[2013-05-17 03:56:29 - beginner] Automatic Target Mode: using existing emulator 'emulator-5554' running compatible AVD 'wlah'
[2013-05-17 03:56:30 - beginner] Application already deployed. No need to reinstall.
[2013-05-17 03:56:30 - beginner] \beginner\bin\beginner.apk installed on device
[2013-05-17 03:56:30 - beginner] Done!

我不知道为什么会这样。几天前,AVD 正在运行我的应用程序。但现在它只是在控制台上显示此消息,但应用程序并未实际安装在 AVD(或模拟器)中。

4

2 回答 2

3

应用程序已安装,但您没有提及启动器活动
修改您的清单文件:-

  <application android:icon="@drawable/icon" android:label="@string/app_name">
            <activity android:name=".YourActivity">
                <intent-filter>
                    <action android:name="android.intent.action.MAIN" />
                    <category android:name="android.intent.category.LAUNCHER" />
                </intent-filter>
            </activity>
    </application>

更新:

这个 :

<action android:name="android.intent.action.SPLASHACTIVITY" />

至:

<action android:name="android.intent.action.MAIN" />
于 2013-05-17T04:54:27.563 回答
2

这可能是提示:未找到启动器活动!

它说您没有在应用程序的 AndroidManifest.xml 文件上设置启动器活动。

于 2013-05-16T23:06:40.813 回答