android调试崩溃问题,求各位大哥支招!

libinx2001 2013-10-17 12:39:04
一进行调试就跳到source not found的页面,具体情况如下:


clean了工程重新编译还是没有用。
下面是logcat的日志:

10-17 12:31:28.280: I/wpa_supplicant(369): [CTRL_IFACE]SIGNAL_POLL
10-17 12:31:31.290: I/wpa_supplicant(369): [CTRL_IFACE]SIGNAL_POLL
10-17 12:31:34.300: I/wpa_supplicant(369): [CTRL_IFACE]SIGNAL_POLL
10-17 12:31:34.850: I/wpa_supplicant(369): wlan0: WPA: Group rekeying completed with 00:19:e0:ef:ac:f6 [GTK=CCMP]
10-17 12:31:37.290: I/wpa_supplicant(369): [CTRL_IFACE]SIGNAL_POLL
10-17 12:31:38.970: I/WindowManager(152): MediaPlayer.is not PlayingVideo
10-17 12:31:39.030: D/WindowManager(152): statusbarShow mStatusBarShow = true
10-17 12:31:39.060: W/audio_hw_primary(87): get audio.routing failed
10-17 12:31:39.910: D/WindowManager(152): statusbarShow mStatusBarShow = true
10-17 12:31:40.010: D/OpenGLRenderer(219): Flushing caches (mode 0)
10-17 12:31:40.300: I/wpa_supplicant(369): [CTRL_IFACE]SIGNAL_POLL
10-17 12:31:40.360: D/WindowManager(152): statusbarShow mStatusBarShow = true
10-17 12:31:40.360: I/ActivityManager(152): START {act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10200000 cmp=com.android.launcher/com.android.launcher2.Launcher} from pid 152
10-17 12:31:40.890: W/ActivityManager(152): Activity pause timeout for ActivityRecord{411ba320 com.doctorstation.UI/.LoginActivity}
10-17 12:31:40.960: W/InputManagerService(152): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@4137e108
10-17 12:31:41.000: V/TabletStatusBar(219): setLightsOn(true)
10-17 12:31:41.230: D/dalvikvm(219): GC_CONCURRENT freed 431K, 67% free 8469K/25287K, paused 2ms+5ms
10-17 12:31:41.320: D/WindowManager(152): statusbarShow mStatusBarShow = true
10-17 12:31:42.880: D/WindowManager(152): statusbarShow mStatusBarShow = true
10-17 12:31:43.260: D/WindowManager(152): statusbarShow mStatusBarShow = true
10-17 12:31:43.300: I/wpa_supplicant(369): [CTRL_IFACE]SIGNAL_POLL
10-17 12:31:43.660: I/ActivityManager(152): Killing 4540:com.doctorstation.UI/10043: remove task
10-17 12:31:43.670: I/ActivityManager(152): Process com.doctorstation.UI (pid 4540) has died.
10-17 12:31:43.690: D/OpenGLRenderer(219): Flushing caches (mode 0)
10-17 12:31:43.720: W/InputManagerService(152): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@412ce3c8
10-17 12:31:43.740: V/TabletStatusBar(219): setLightsOn(true)
10-17 12:31:46.300: I/wpa_supplicant(369): [CTRL_IFACE]SIGNAL_POLL
10-17 12:31:47.840: D/AndroidRuntime(4563): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
10-17 12:31:47.840: D/AndroidRuntime(4563): CheckJNI is OFF
10-17 12:31:48.080: D/AndroidRuntime(4563): Calling main entry com.android.commands.pm.Pm
10-17 12:31:48.100: D/AndroidRuntime(4563): Shutting down VM
10-17 12:31:48.100: D/dalvikvm(4563): GC_CONCURRENT freed 101K, 82% free 464K/2560K, paused 0ms+0ms
10-17 12:31:48.110: I/AndroidRuntime(4563): NOTE: attach of thread 'Binder Thread #3' failed
10-17 12:31:48.110: D/dalvikvm(4563): Debugger has detached; object registry had 1 entries
10-17 12:31:48.470: D/AndroidRuntime(4576): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
10-17 12:31:48.470: D/AndroidRuntime(4576): CheckJNI is OFF
10-17 12:31:48.700: D/AndroidRuntime(4576): Calling main entry com.android.commands.am.Am
10-17 12:31:48.720: I/ActivityManager(152): Force stopping package com.doctorstation.UI uid=10043
10-17 12:31:48.720: I/ActivityManager(152): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=com.doctorstation.UI/.LoginActivity} from pid 4576
10-17 12:31:48.890: D/dalvikvm(152): GC_CONCURRENT freed 556K, 17% free 9645K/11527K, paused 2ms+6ms
10-17 12:31:48.890: D/AndroidRuntime(4576): Shutting down VM
10-17 12:31:48.900: D/dalvikvm(4576): GC_CONCURRENT freed 102K, 81% free 489K/2560K, paused 0ms+1ms
10-17 12:31:48.900: D/jdwp(4576): Got wake-up signal, bailing out of select
10-17 12:31:48.900: D/dalvikvm(4576): Debugger has detached; object registry had 1 entries
10-17 12:31:48.900: I/AndroidRuntime(4576): NOTE: attach of thread 'Binder Thread #3' failed
10-17 12:31:48.930: D/dalvikvm(4587): Late-enabling CheckJNI
10-17 12:31:48.960: I/ActivityManager(152): Start proc com.doctorstation.UI for activity com.doctorstation.UI/.LoginActivity: pid=4587 uid=10043 gids={3003, 1015}
10-17 12:31:48.970: D/OpenGLRenderer(334): Flushing caches (mode 1)
10-17 12:31:49.010: W/ActivityThread(4587): Application com.doctorstation.UI is waiting for the debugger on port 8100...
10-17 12:31:49.020: I/System.out(4587): Sending WAIT chunk
10-17 12:31:49.020: D/OpenGLRenderer(334): Flushing caches (mode 0)
10-17 12:31:49.020: I/dalvikvm(4587): Debugger is active
10-17 12:31:49.220: I/System.out(4587): Debugger has connected
10-17 12:31:49.220: I/System.out(4587): waiting for debugger to settle...
10-17 12:31:49.310: I/wpa_supplicant(369): [CTRL_IFACE]SIGNAL_POLL
10-17 12:31:49.420: I/System.out(4587): waiting for debugger to settle...
10-17 12:31:49.620: I/System.out(4587): waiting for debugger to settle...
10-17 12:31:49.820: I/System.out(4587): waiting for debugger to settle...
10-17 12:31:50.020: I/System.out(4587): waiting for debugger to settle...
10-17 12:31:50.220: I/System.out(4587): waiting for debugger to settle...
10-17 12:31:50.420: I/System.out(4587): waiting for debugger to settle...
10-17 12:31:50.620: I/System.out(4587): waiting for debugger to settle...
10-17 12:31:50.820: I/System.out(4587): debugger has settled (1393)
10-17 12:31:51.930: D/dalvikvm(4587): threadid=1: still suspended after undo (sc=1 dc=1)
10-17 12:31:52.310: I/wpa_supplicant(369): [CTRL_IFACE]SIGNAL_POLL
10-17 12:31:55.310: I/wpa_supplicant(369): [CTRL_IFACE]SIGNAL_POLL
10-17 12:31:58.320: I/wpa_supplicant(369): [CTRL_IFACE]SIGNAL_POLL
10-17 12:31:58.890: W/ActivityManager(152): Launch timeout has expired, giving up wake lock!
10-17 12:31:58.980: W/ActivityManager(152): Activity idle timeout for ActivityRecord{41239058 com.doctorstation.UI/.LoginActivity}
10-17 12:32:01.330: I/wpa_supplicant(369): [CTRL_IFACE]SIGNAL_POLL
10-17 12:32:04.320: I/wpa_supplicant(369): [CTRL_IFACE]SIGNAL_POLL
10-17 12:32:05.770: I/wpa_supplicant(369): wlan0: WPA: Group rekeying completed with 00:19:e0:ef:ac:f6 [GTK=CCMP]
10-17 12:32:07.330: I/wpa_supplicant(369): [CTRL_IFACE]SIGNAL_POLL
10-17 12:32:10.330: I/wpa_supplicant(369): [CTRL_IFACE]SIGNAL_POLL
10-17 12:32:13.340: I/wpa_supplicant(369): [CTRL_IFACE]SIGNAL_POLL


本人初学安卓,还望各位大哥能指点迷津。。
...全文
9754 15 打赏 收藏 转发到动态 举报
写回复
用AI写文章
15 条回复
切换为时间正序
请发表友善的回复…
发表回复
  • 打赏
  • 举报
回复
我也遇到了,原来是在注释自己的调试代码时不消息把循环变量的自加给注释掉了,导致界面不停刷新,建议你检查一下自己的界面加载部分,看看是不是存在这种情况
duxikuan 2015-10-29
  • 打赏
  • 举报
回复
工程右键,properties-java build path-source--此处添加上代码的src目录。
mikeyt 2014-08-21
  • 打赏
  • 举报
回复
跟你的现象一模一样 但是仍为解决!请问你的问题怎么解决的?
libinx2001 2013-10-18
  • 打赏
  • 举报
回复
顶上去。。有没有大哥再帮帮忙啊。。
libinx2001 2013-10-17
  • 打赏
  • 举报
回复
引用 10 楼 Lvmodel 的回复:
你看你AndroidManifest.xml里面有没有那个activity
<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.doctorstation.UI" android:versionCode="1" android:versionName="1.0" > <uses-sdk android:minSdkVersion="15" /> //设置SOCKET权限和SD卡访问权限 <uses-permission android:name="android.permission.INTERNET"></uses-permission> <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE"></uses-permission> <uses-permission android:name="android.permission.CHANGE_WIFI_STATE"></uses-permission> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"></uses-permission> <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"></uses-permission> <application android:icon="@drawable/ic_launcher" android:label="@string/app_name" > <activity android:name=".LoginActivity" android:label="@string/app_name" > <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> <activity android:name=".WelcomeActivity"></activity> <activity android:name=".LoadingActivity"></activity> </application> </manifest> 就是LoginActivity,Mainfest里有。这个程序直接run是可以的。但debug时就不行了。。
mr_same 2013-10-17
  • 打赏
  • 举报
回复
你看你AndroidManifest.xml里面有没有那个activity
libinx2001 2013-10-17
  • 打赏
  • 举报
回复
引用 7 楼 Lvmodel 的回复:
注册了么? 补全6个字
我昨天还能调试来着,但突然有次启动调试时候就这样了,代码也没改什么。很奇怪!
libinx2001 2013-10-17
  • 打赏
  • 举报
回复
引用 7 楼 Lvmodel 的回复:
注册了么? 补全6个字
什么叫注册啊。。。我是菜鸟。。希望大哥详解。。
mr_same 2013-10-17
  • 打赏
  • 举报
回复
注册了么? 补全6个字
libinx2001 2013-10-17
  • 打赏
  • 举报
回复
引用 2 楼 a394268045 的回复:
没遇到过 看楼下
谢顶!
libinx2001 2013-10-17
  • 打赏
  • 举报
回复
引用 1 楼 birdsaction 的回复:
这个异常没看出来是什么错误,也不是底层SO错误。
还是谢谢!
libinx2001 2013-10-17
  • 打赏
  • 举报
回复
引用 3 楼 Lvmodel 的回复:
log太长 重要部分没标识 看不出来 就你发帖第一句话来看 你进入activity是否报错 还是跳入其他方法报错?解释一下? 进入其他部分报错的话看下是否已经注册
大哥你好!调试一进入activity就报错了,跳转到那个source not found的页面。 我感觉会不会是logcat中下面这三行显示出问题? 10-17 12:31:49.010: W/ActivityThread(4587): Application com.doctorstation.UI is waiting for the debugger on port 8100... 10-17 12:31:58.890: W/ActivityManager(152): Launch timeout has expired, giving up wake lock! 10-17 12:31:58.980: W/ActivityManager(152): Activity idle timeout for ActivityRecord{41239058 com.doctorstation.UI/.LoginActivity}
mr_same 2013-10-17
  • 打赏
  • 举报
回复
log太长 重要部分没标识 看不出来 就你发帖第一句话来看 你进入activity是否报错 还是跳入其他方法报错?解释一下? 进入其他部分报错的话看下是否已经注册
罗小辉 2013-10-17
  • 打赏
  • 举报
回复
没遇到过 看楼下
Birds2018 2013-10-17
  • 打赏
  • 举报
回复
这个异常没看出来是什么错误,也不是底层SO错误。

80,351

社区成员

发帖
与我相关
我的任务
社区描述
移动平台 Android
androidandroid-studioandroidx 技术论坛(原bbs)
社区管理员
  • Android
  • yechaoa
  • 失落夏天
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧