2012-09-03 69 views
0

現在我正嘗試在android中顯示xml文件中的數據。 項目開發後,我只是運行該項目,我的模擬器正在運行,但我創建的應用程序沒有啓動。無法在模擬器中找到Android應用程序

如何解決這個問題?

logcat的

[2012-09-03 14:37:28 - GridView_test] Android Launch! 
[2012-09-03 14:37:28 - GridView_test] adb is running normally. 
[2012-09-03 14:37:28 - GridView_test] No Launcher activity found! 
[2012-09-03 14:37:28 - GridView_test] The launch will only sync the application package on the device! 
[2012-09-03 14:37:28 - GridView_test] Performing sync 
[2012-09-03 14:37:29 - GridView_test] Automatic Target Mode: using existing emulator 'emulator-5556' running compatible AVD 'Android22-API-8' 
[2012-09-03 14:37:29 - GridView_test] Uploading GridView_test.apk onto device 'emulator-5556' 
[2012-09-03 14:37:30 - GridView_test] Installing GridView_test.apk... 
[2012-09-03 14:37:34 - GridView_test] Success! 
[2012-09-03 14:37:34 - GridView_test] \GridView_test\bin\GridView_test.apk installed on device 
[2012-09-03 14:37:34 - GridView_test] Done! 

提前感謝!..

+1

你在logcat中有什麼? –

+0

@VladimirIvanov請訪問我的問題,我已經給予logcat參考 –

+0

檢查你的清單包含

回答

3

你已經改變你的主要活動的<intent-filter>標籤中AndroidManifest.xml文件。

<application android:name="......" 
android:icon="@drawable/app_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> 

手段,你要改變你的活動的<action><category>

看一看here更多。

相關問題