[2011-12-09 15:02:58 - HQTDvr] Android Launch!
[2011-12-09 15:02:58 - HQTDvr] adb is running normally.
[2011-12-09 15:02:58 - HQTDvr] No Launcher activity found!
[2011-12-09 15:02:58 - HQTDvr] The launch will only sync the application package on the device!
[2011-12-09 15:02:58 - HQTDvr] Performing sync
[2011-12-09 15:02:58 - HQTDvr] Automatic Target Mode: using existing emulator 'emulator-5554' running compatible AVD 'Android-2.2'
突然调试不了了,开始以为是模拟器出错了。用手机也还是一样。重启了系统也不行,很郁闷着。
后来再仔细一看 no activity found ,应该是没有找到启动的Activity,再查看应用程序配置文件,原来是两个 </activity> 跑到一块了,一不小心引起的。。
<activity
android:label="@string/app_name"
android:name=".demo.FormMain" >
这个地方的被我不小心移到后面去了。
<activity android:name=".demo.FormVideo">
<intent-filter >
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</activity>
来源:https://www.cnblogs.com/lyout/archive/2012/02/22/2362474.html