Android Studio模拟器关闭调试应用程序

时间:2018-03-11 21:06:30

标签: android debugging avd

当我在Android Studio中调试我的应用时,我得到以下内容:

03/11 16:52:58: Launching mobile
$ adb shell am start -n "com.gelakinetic.mtgfam.debug/com.gelakinetic.mtgfam.FamiliarActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -D
Waiting for application to come online: com.gelakinetic.mtgfam.debug.test | com.gelakinetic.mtgfam.debug
Waiting for application to come online: com.gelakinetic.mtgfam.debug.test | com.gelakinetic.mtgfam.debug
Waiting for application to come online: com.gelakinetic.mtgfam.debug.test | com.gelakinetic.mtgfam.debug
Connecting to com.gelakinetic.mtgfam.debug
Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page.
W/ActivityThread: Application com.gelakinetic.mtgfam.debug is waiting for the debugger on port 8100...
I/System.out: Sending WAIT chunk
I/zygote: Debugger is active
Connected to the target VM, address: 'localhost:8834', transport: 'socket'
I/System.out: Debugger has connected
I/System.out: waiting for debugger to settle...
I/System.out: waiting for debugger to settle...
I/chatty: uid=10079(com.gelakinetic.mtgfam.debug) identical 4 lines
I/System.out: waiting for debugger to settle...
I/System.out: debugger has settled (1498)
D/AndroidRuntime: Shutting down VM
E/AndroidRuntime: FATAL EXCEPTION: main
                  Process: com.gelakinetic.mtgfam.debug, PID: 9164
                  DeadSystemException: The system died; earlier logs will point to the root cause
I/Process: Sending signal. PID: 9164 SIG: 9
Disconnected from the target VM, address: 'localhost:8834', transport: 'socket'

我确定它不是代码,因为它可以在我的其他计算机和其他人上运行良好。

我在软件渲染模式下运行AVD,因为它会崩溃(我认为它与nouveau驱动程序有关吗?)。

当我正常启动时(绿箭,Shift-F10),这不会发生。

这是Arch和Android Studio的全新安装。

0 个答案:

没有答案