热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

androidstudioshowlistoftab,AndroidStudio中缺少调试选项卡(MissingdebugtabinAndroidStudio)...

AndroidStudio中缺少调试选项卡(MissingdebugtabinAndroidStudio)这里第一个问题。希望它顺利我是AndroidStudio的新手&#x

Android Studio中缺少调试选项卡(Missing debug tab in Android Studio)

这里第一个问题。 希望它顺利...

我是Android Studio的新手,但曾经有调试选项卡,现在我找不到它(折叠后,我确实有logcat和监视器选项卡,但请参阅printscreen)(如您所见,我没有在窗口右上方的小图标点击并显示调试选项卡,因为在另一个线程中称为解决方案。)

我在找什么(这样我可以调试每行的行数):

first question here. Hope it goes well...

I'm novice in Android Studio, but used to have the debug tab and now I can't find it back (after collapsing it. I do have the logcat and monitors tab though... See printscreen. (As you can see, I don't have a small icon on the right top side of the window to click and reveal the debug tab, as is referred to as a solution in another thread.)

What I'm looking for (such that I can debug line per line):

原文:https://stackoverflow.com/questions/42459439

更新时间:2019-12-29 12:32

最满意答案

屏幕截图显示了两个不同的窗口。 一个是Android监视器。 另一个是调试。 您可以在选项卡上方的灰色栏中看到此差异。 两者都有一个logcat选项卡,但不同于此。

获得调试窗口的最快方法是设置断点并单击工具栏上的调试按钮。 您也可以转到视图菜单或单击左下角的按钮来查看调试窗口。

The screenshots show two different windows. One is Android Monitor. The other is Debug. You can see this difference in the gray bar above the tabs. Both have a logcat tab but differ significantly beyond that.

The quickest way to get the Debug window is to set a breakpoint and click the debug button on the toolbar. You can also go to the View menu or click the button in the lower left corner to view the Debug window.

2017-02-25

相关问答

它位于相同的位置: ~/.android/debug.keystore It is at the same location: ~/.android/debug.keystore

转到Window / Editor Tabs / tab placement ->top ,如下所示 Go to Window / Editor Tabs / tab placement ->top as shown below

您不能只在您的布局中拖放png图像。 首先你需要添加ImageView小部件,然后指定src参数,如android:src="@drawable/cat1" 。 You can't just drag and drop png image in your layout. Firstly you need add ImageView widget, then specify src parameter like this android:src="@drawable/cat1".

LLDB选项卡丢失,因为我选择了“android-gradle-native-java”而不是“android-gradle-native”。 LLDB tab was missing because I had "android-gradle-native-java" selected instead of "android-gradle-native".

找到了。 查看 - >工具窗口 - >更改。 还需要在VCS>启用版本控制集成下启用适当的版本控制 Found it. View --> Tools Window --> Changes. Also need to enable proper Version control under VCS > Enable Version Control Integration

屏幕截图显示了两个不同的窗口。 一个是Android监视器。 另一个是调试。 您可以在选项卡上方的灰色栏中看到此差异。 两者都有一个logcat选项卡,但不同于此。 获得调试窗口的最快方法是设置断点并单击工具栏上的调试按钮。 您也可以转到视图菜单或单击左下角的按钮来查看调试窗口。 The screenshots show two different windows. One is Android Monitor. The other is Debug. You can see this diffe

...

好吧,我终于获得了胜利。 卸载现有的工作室并杀死那些.android&.AndroidStudio2.3文件夹后,我再次重新安装studio。 现在Android工作室正常运行。 Ok I got triumph finally. After uninstalling existing studio and killing those .android & .AndroidStudio2.3 folders, then I re-install studio again. Now the Andr

...

查看主构建文件,其中有关于作为顶级构建文件的注释,因此看起来您的主模块位于项目根目录而不是文件夹内。 这可能是令人困惑的“项目结构”对话框,因为当它检查settings.gradle时 ,它希望看到Pudge和libraries / facebook目录中的模块。 如果我假设您的主模块位于项目根目录是正确的,如果您将settings.gradle文件更改为this,它应该工作: include ':'

include ':libraries:facebook'

Looking at your m

...

文件>设置>项目设置>代码样式 - Java 使用制表符 如果选中此复选框,则使用选项卡字符:按Tab键进行缩进对于代码重新格式化清除复选框后,IntelliJ IDEA使用空格而不是制表符。 智能标签 如果选中此复选框,则IntelliJ IDEA会插入用于缩进和重新格式化的选项卡,但只有通过空格才能完成与必要列的精确对齐,而无需使用制表符替换它们。 这样做是为了在更改选项卡大小时保留源代码的可视化表示。 如果清除此复选框,则仅使用选项卡。 这意味着符合指定选项卡大小的一组空格会自动替换为选项卡

...

在选项卡式活动内的FragmentPagerAdapter中,将get count return更改为2。 @Override

public int getCount() {

// Show 2 total pages.

return 2;

}

@Override

public CharSequence getPageTitle(int position) {

switch (position) {

...



推荐阅读
author-avatar
刘妤劭明馨
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有