如何在最新版Android Studio 3.1中打开Android Device Monitor
Hey there! I feel your pain—losing a go-to tool after an update is always frustrating. Let me clear up what happened and show you how to get those same functionalities back with modern alternatives.
Starting with Android Studio Arctic Fox (2020.3.1), Google officially retired Android Device Monitor. It was getting outdated, so they split all its features into dedicated, more integrated tools that work better with the current Android Studio ecosystem.
Here's how to access the features you relied on:
- Browse Device Files (File Explorer)
Use the Device File Explorer—it's usually tucked away on the right side of Android Studio. If you can't spot it, go toView > Tool Windows > Device File Explorerto bring it up. - View Device Logs (Logcat)
Logcat hasn't gone anywhere! Open it viaView > Tool Windows > Logcat, or use the handy shortcut:Alt+6(Windows/Linux) orCmd+6(Mac). - Performance Profiling (Heap, CPU, Network)
The old ADM profiler has been replaced by the Profiler tool, which is way more robust. Launch it throughView > Tool Windows > Profileror useAlt+8(Windows/Linux) /Cmd+8(Mac). It gives you deeper insights into your app's performance. - DDMS (Dalvik Debug Monitor Server)
If you specifically need the classic DDMS interface, you can still run it manually from the command line. Head to your Android SDK directory, navigate totools/bin, then run theddmscommand (useddms.baton Windows).
If you absolutely must have the original ADM interface, you'd need to install an older version of the Android SDK Tools—but this isn't recommended since it's no longer supported by Google, and you'll miss out on security updates and new features.
内容的提问来源于stack exchange,提问作者Gajanand Swamy

