我在做工作室的Android的应用程序,现在要把它通过亚行调试。当我点击这个词Android和底部栏的标志,logcat的走了过来,认识到我的设备。然后,我看到这样的:
I am making an app in Android Studio, now trying to debug it through adb. When I click on the word Android and the logo on the bottom bar, logcat comes up and recognizes my device. Then I see this:
什么我需要做我的应用程序,使其可调试?
What do I need to do to my app to make it "debuggable"?
FYI正在开发这个应用程序在Eclipse之前和亚行工作的罚款。
FYI was developing this app in Eclipse before and adb worked fine.
有一个调试工具栏上的图标。它看起来像一个小错误,位于旁边的运行图标(它看起来像一个播放按钮)。尝试开展与应用程序。
There is a Debug icon on the toolbar. It looks like a little "bug" and is located right next to the Run icon (which looks like a play button). Try launching the application with that.
编辑:以下是德precated采用Android工作室摇篮时。
The following is deprecated when using Android Studio with Gradle.
还有一个调试标志在的AndroidManifest.xml 文件。它位于应用标记下,并且应被设置为真,如下所示:
There is also a debug flag in the AndroidManifest.xml file. It is located under the application tag, and should be set to "true", as follows:
<application android:debuggable="true">
</application>