Android Studio and android device monitor

后端 未结 5 1531
轮回少年
轮回少年 2021-01-03 01:23

I just switched from Eclipse to Android Studio. For what I saw since now the new IDE has a lot more features than Eclipse, and I like using the new IDE for my app developmen

5条回答
  •  我在风中等你
    2021-01-03 02:15

    There are several ways you can find the DDMS tool using android studio. Eclipse is not needed for that as the tool is a separate program that comes with the android SDK.

    • Click on the Android Device Monitor Icon in the toolbar in Android Studioenter image description here
    • Open the monitor.bat file (on a windows machine, this is located in [path-to-sdk]/sdk/tools)
    • Type monitor in the terminal in Android Studio or in any command prompt. (thanks SimonVeloper)
    • Open it via the tools menu. Tools->Android->Android Device Monitor (thanks sebweisgerber)enter image description here

    This will open the DDMS tool and will automatically connect to connected devices.

    Normally you will be able to view your logcat output through this tool and not in android studio anymore. If this doesn't work for you make sure your devices is properly connected and restart the tool.

提交回复
热议问题