Android模拟器在来电时断开连接

时间:2014-07-30 19:46:35

标签: android eclipse emulation

我在Windows 7上有Android 4.4.2 (API 19)最新的Eclipse版本,但是当我启动AVD并尝试从DDMS发出呼叫时,我的模拟器与DDMS断开连接。已经尝试过:

  1. adb reset要重新连接,如果我尝试拨打电话,模拟器仍会再次断开连接。
  2. 清除了我的AVD cache
  3. 多次重启eclipse
  4. 删除并重新创建了我的AVD
  5. 尝试通过telnet
  6. 拨打电话

    以上都没有解决问题。

    从我对stackoverflow的搜索中,我没有收到任何已解决此问题的回复。如果有人有解决方案,请告诉我。

    感谢。

1 个答案:

答案 0 :(得分:0)

Logcat输出如下:

07-31 11:58:33.240: D/MobileDataStateTracker(385): default: setPolicyDataEnable(enabled=true)
07-31 11:58:46.460: D/MobileDataStateTracker(385): default: Broadcast received: android.intent.action.ANY_DATA_STATE apnType=default
07-31 11:58:46.460: D/MobileDataStateTracker(385): default: Received state=SUSPENDED, old=CONNECTED, reason=2GVoiceCallStarted
07-31 11:58:46.460: D/MobileDataStateTracker(385): default: setDetailed state, old =CONNECTED and new state=SUSPENDED
07-31 11:58:46.470: D/ConnectivityService(385): ConnectivityChange for mobile: SUSPENDED/SUSPENDED
07-31 11:58:46.470: D/ConnectivityService(385): tryFailover: set mActiveDefaultNetwork=-1, prevNetType=0
07-31 11:58:46.470: D/ConnectivityService(385): Attempting to switch to wifi
07-31 11:58:46.530: D/MobileDataStateTracker(385): fota: Broadcast received: android.intent.action.ANY_DATA_STATE apnType=fota
07-31 11:58:46.540: D/MobileDataStateTracker(385): fota: Received state=DISCONNECTED, old=DISCONNECTED, reason=2GVoiceCallStarted
07-31 11:58:46.580: D/MobileDataStateTracker(385): ia: Broadcast received: android.intent.action.ANY_DATA_STATE apnType=ia
07-31 11:58:46.610: D/MobileDataStateTracker(385): ia: Received state=DISCONNECTED, old=DISCONNECTED, reason=2GVoiceCallStarted
07-31 11:58:46.610: D/MobileDataStateTracker(385): supl: Broadcast received: android.intent.action.ANY_DATA_STATE apnType=supl
07-31 11:58:46.630: D/MobileDataStateTracker(385): supl: Received state=DISCONNECTED, old=DISCONNECTED, reason=2GVoiceCallStarted
07-31 11:58:46.630: D/MobileDataStateTracker(385): hipri: Broadcast received: android.intent.action.ANY_DATA_STATE apnType=hipri
07-31 11:58:46.680: D/MobileDataStateTracker(385): hipri: Received state=DISCONNECTED, old=DISCONNECTED, reason=2GVoiceCallStarted
07-31 11:58:46.680: D/MobileDataStateTracker(385): ims: Broadcast received: android.intent.action.ANY_DATA_STATE apnType=ims
07-31 11:58:46.690: D/MobileDataStateTracker(385): ims: Received state=DISCONNECTED, old=DISCONNECTED, reason=2GVoiceCallStarted
07-31 11:58:46.690: D/MobileDataStateTracker(385): mms: Broadcast received: android.intent.action.ANY_DATA_STATE apnType=mms
07-31 11:58:46.710: D/MobileDataStateTracker(385): mms: Received state=DISCONNECTED, old=DISCONNECTED, reason=2GVoiceCallStarted
07-31 11:58:46.710: D/MobileDataStateTracker(385): cbs: Broadcast received: android.intent.action.ANY_DATA_STATE apnType=cbs
07-31 11:58:46.720: D/CallNotifier(617): RINGING... (new)
07-31 11:58:46.720: D/CallNotifier(617): onNewRingingConnection(): state = RINGING, conn = {  incoming: true state: INCOMING post dial state: NOT_STARTED }
07-31 11:58:46.760: D/CallNotifier(617): SignalInfoTonePlayer.run(toneId = 98)...
07-31 11:58:46.760: D/NetUtils(385): android_net_utils_resetConnections in env=0xb8968b00 clazz=0xbdf00001 iface=eth0 mask=0x3
07-31 11:58:46.760: D/ConnectivityService(385): resetConnections(eth0, 3)
07-31 11:58:46.770: D/MobileDataStateTracker(385): cbs: Received state=DISCONNECTED, old=DISCONNECTED, reason=2GVoiceCallStarted
: E/(): Device disconnected