2012-09-11 54 views
0

无法在运行的模拟器上显示android应用程序。 其实我想消费从机器人的方法SOAP,我想我已经正确地完成每一个代码,但是当我试图运行此广告应用程式,控制台和logcat的是说像这样为什么模拟器犹豫要显示android应用程序?

Web服务控制台

[2012-09-11 16:26:47 - TMS_Chart] ----------- 
[2012-09-11 16:26:47 - TMS_Chart] Android Launch! 
[2012-09-11 16:26:47 - TMS_Chart] adb is running normally. 
[2012-09-11 16:26:47 - TMS_Chart] No Launcher activity found! 
[2012-09-11 16:26:47 - TMS_Chart] The launch will only sync the application package on the device! 
[2012-09-11 16:26:47 - TMS_Chart] Performing sync 
[2012-09-11 16:26:47 - TMS_Chart] Automatic Target Mode: using existing emulator 'emulator-5554' running compatible AVD 'Android22-API-8' 
[2012-09-11 16:26:47 - TMS_Chart] Uploading TMS_Chart.apk onto device 'emulator-5554' 
[2012-09-11 16:26:50 - TMS_Chart] Installing TMS_Chart.apk... 
[2012-09-11 16:26:54 - TMS_Chart] Success! 
[2012-09-11 16:26:54 - TMS_Chart] \TMS_Chart\bin\TMS_Chart.apk installed on device 
[2012-09-11 16:26:54 - TMS_Chart] Done! 

而且logcat的是说像这样,

logcat的

09-11 16:26:53.463: D/AndroidRuntime(494): Shutting down VM 
09-11 16:26:53.473: D/dalvikvm(494): Debugger has detached; object registry had 1 entries 
09-11 16:26:53.513: I/AndroidRuntime(494): NOTE: attach of thread 'Binder Thread #3' failed 
09-11 16:26:58.443: D/dalvikvm(191): GC_EXPLICIT freed 88 objects/3824 bytes in 146ms 
09-11 16:29:42.536: D/SntpClient(58): request time failed: java.net.SocketException: Address family not supported by protocol 
09-11 16:34:42.583: D/SntpClient(58): request time failed: java.net.SocketException: Address family not supported by protocol 
09-11 16:39:42.626: D/SntpClient(58): request time failed: java.net.SocketException: Address family not supported by protocol 

因此,我无法在模拟器上找到我启动的android应用程序。

任何人都可以让我知道这个问题吗?

感谢您的宝贵时间!

+1

它说你不要有一个启动活动,即与此<意图过滤器> <操作机器人的活动:名=“机器人。 intent.action.MAIN“/>

回答

1

看起来你没有发射器的活动。 foloowing意图添加要被launced作为默认活动activty:

<intent-filter> 
    <action android:name="android.intent.action.MAIN" /> 
    <category android:name="android.intent.category.LAUNCHER" /> 
</intent-filter> 
相关问题