缺少调试信息Android Studio中的Andr​​oid应用程序 [英] Android application lacking debug information in Android Studio

查看:333
本文介绍了缺少调试信息Android Studio中的Andr​​oid应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图调试,我使用Android的工作室编写的应用程序,但我似乎无法得到任何有用的调试信息出的Andr​​oid Studio的调试视图。我发动我的错误,寻找调试图标,但调试视图的应用程序没有任何有用的东西(从我的应用程序没有堆栈帧,例如):

I'm trying to debug an application that I'm writing using Android Studio but I can't seem to get any useful debugging information out of Android Studio's "Debug" view. I'm launching my application with the bug-looking "Debug" icon but the "Debug" view doesn't have anything useful (no stack frames from my application, for example):

()

即使我的应用程序崩溃,我没有得到任何有用的信息。我记得,ADT插件会自动降你认为导致崩溃的行。

Even if my application crashes I don't get any useful information. As I recall, the ADT plugin would automatically drop you on the line that caused the crash.

我需要做任何事情就Android Studio中我的应用程序可调试?我也试着强迫的android:可调试=真正的在我的Andr​​oidManifest.xml中,但无济于事。 Android的工作室似乎被附加到正在运行的进程(应用程序显示几秒钟的连接到调试器的消息时,第一次启动)。

Do I need to do anything else to make my application "debuggable" in Android Studio? I've also tried forcing android:debuggable="true" in my AndroidManifest.xml but to no avail. Android Studio does seem to be attaching to the running process (the app shows the "attaching to debugger" message for a few seconds when it first launches).

推荐答案

更新的Andr​​oid工作室这个问题就走了。不知道是什么问题了。

After updating Android studio this problem went away. Not sure what the issue was.

这篇关于缺少调试信息Android Studio中的Andr​​oid应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆