Android डिवाइस मॉनिटर
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
Android Studio में Android Device Monitor अब काम नहीं करता
वर्शन 3.1 है और इसे Android Studio 3.2 से हटा दिया गया है. वे सुविधाएं जिनका इस्तेमाल किया जा सकता है
को नई सुविधाओं से बदल दिया गया है. टेबल
नीचे दी गई सुविधाओं से आपको यह तय करने में मदद मिलती है कि इन 'सुविधाओं' का इस्तेमाल बंद होने के बजाय, किन सुविधाओं का इस्तेमाल करना चाहिए
और सुविधाओं को हटाया गया है.
Android डिवाइस मॉनिटर कॉम्पोनेंट | आपको किसका इस्तेमाल करना चाहिए |
Dalvik डीबग मॉनिटर सर्वर (डीडीएम) |
यह टूल अब काम नहीं करता. इसके बजाय,
Android
प्रोफ़ाइलर, Android Studio 3.0 और इसके बाद के वर्शन में उपलब्ध है
ऐप्लिकेशन का सीपीयू, मेमोरी, और नेटवर्क के इस्तेमाल की जानकारी.
अगर आपको डीबग करने के अन्य टास्क पूरे करने हैं, जैसे कि कमांड भेजना
किसी कनेक्टेड डिवाइस पर पोर्ट-फ़ॉरवर्डिंग की सुविधा सेट अप करने, फ़ाइलें ट्रांसफ़र करने या
स्क्रीनशॉट लेने के बाद
Android डीबग ब्रिज (adb ),
Android एम्युलेटर,
डिवाइस एक्सप्लोरर या
डीबगर विंडो.
|
ट्रेसव्यू |
यह टूल अब काम नहीं करता. .trace फ़ाइलों की जांच करने के लिए
द्वारा कैप्चर किया गया
Debug क्लास की मदद से अपना ऐप्लिकेशन इंस्टॉल करें,
नए तरीके के ट्रेस रिकॉर्ड करें, .trace फ़ाइलें एक्सपोर्ट करें, और
अपने ऐप्लिकेशन की प्रोसेस के रीयल-टाइम सीपीयू इस्तेमाल की जांच करने, Android,
स्टूडियो
सीपीयू प्रोफ़ाइलर.
|
सिस्ट्रेस |
अगर आपको नेटिव सिस्टम प्रोसेस की जांच करनी है और यूआई को पता करना है
छोड़े गए फ़्रेम के कारण जैंक, उपयोग करें
systrace
कमांड लाइन या आसान सिस्टम से
सीपीयू में ट्रेस करें
प्रोफ़ाइलर. सीपीयू प्रोफ़ाइलर में, उपयोगकर्ता को कई तरह की सुविधाएं मिलती हैं
अपने ऐप्लिकेशन की प्रोसेस की प्रोफ़ाइल बनाएं.
|
OpenGL ES के लिए ट्रेसर |
Android जीपीयू इंस्पेक्टर का इस्तेमाल करें.
|
क्रम के हिसाब से व्यूअर |
अगर आपको रनटाइम के दौरान अपने ऐप्लिकेशन के व्यू हैरारकी की जांच करनी है, तो इसका इस्तेमाल करें
लेआउट इंस्पेक्टर.
अगर आपको अपने ऐप्लिकेशन के लेआउट की रेंडरिंग स्पीड को प्रोफ़ाइल के तौर पर सेट करना है,
Window.OnFrameMetricsAvailableListener का इस्तेमाल करें
जैसा कि इस ब्लॉग पोस्ट में बताया गया है.
|
Pixel Perfect |
का उपयोग करें
लेआउट इंस्पेक्टर. |
नेटवर्क ट्रैफ़िक टूल |
अगर आपको यह देखना हो कि आपका ऐप्लिकेशन
नेटवर्क, नेटवर्क का उपयोग करें
प्रोफ़ाइलर.
|
Android डिवाइस मॉनिटर चालू करें
Android Studio 3.1 में स्टैंडअलोन Device Monitor ऐप्लिकेशन शुरू करने और
नीचे दिया गया है, तो कमांड लाइन पर
android-sdk/tools/
डायरेक्ट्री:
monitor
इसके बाद, डिवाइस को चुनकर, टूल को कनेक्ट किए गए डिवाइस से जोड़ें
डिवाइस पैनल से. अगर आपको पैनल या विंडो देखने में समस्या आ रही है,
Window > चुनें मेन्यू बार में जाकर, Perspective को रीसेट करें.
ध्यान दें: हर डिवाइस को सिर्फ़ एक डीबगर से अटैच किया जा सकता है
एक समय में प्रोसेस करते हैं. उदाहरण के लिए, अगर आप डीबग करने के लिए Android Studio का इस्तेमाल कर रहे हैं
तो आपको Android Studio डीबगर को
इससे पहले कि आप Android डिवाइस से डीबगर प्रोसेस अटैच करें
मॉनिटर करें.
इस पेज पर मौजूद कॉन्टेंट और कोड सैंपल कॉन्टेंट के लाइसेंस में बताए गए लाइसेंस के हिसाब से हैं. Java और OpenJDK, Oracle और/या इससे जुड़ी हुई कंपनियों के ट्रेडमार्क या रजिस्टर किए हुए ट्रेडमार्क हैं.
आखिरी बार 2025-07-27 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-27 (UTC) को अपडेट किया गया."],[],[],null,["# Android Device Monitor was **deprecated in Android Studio\n3.1 and removed from Android Studio 3.2**. The features that you could use\nthrough the Android Device Monitor have been replaced by new features. The table\nbelow helps you decide which features you should use instead of these deprecated\nand removed features.\n\n| Android Device Monitor component | What you should use |\n|----------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| **Dalvik Debug Monitor Server (DDMS)** | This tool is deprecated. Instead, use [**Android Profiler**](/studio/profile) in Android Studio 3.0 and higher to profile your app's CPU, memory, and network usage. If you want to perform other debugging tasks, such as sending commands to a connected device to set up port-forwarding, transfer files, or take screenshots, then use the [**Android Debug Bridge (`adb`)**](/studio/command-line/adb), [**Android Emulator**](/studio/run/emulator), [**Device Explorer**](/studio/debug/device-file-explorer), or [**Debugger window**](/studio/debug). |\n| **Traceview** | This tool is deprecated. To inspect `.trace` files captured by [instrumenting your app](/studio/profile/generate-trace-logs) with the [Debug](/reference/android/os/Debug) class, record new method traces, export `.trace` files, and inspect real-time CPU usage of your app's processes, use the Android Studio [**CPU profiler**](/studio/profile/cpu-profiler). |\n| **Systrace** | If you need to inspect native system processes and address UI jank caused by dropped frames, use [**`systrace `**](/topic/performance/tracing/command-line) from the command line or the simplified **System Trace** in the [**CPU Profiler**](/studio/profile/cpu-profiler). The **CPU Profiler** provides many features for profiling your app's processes. |\n| **Tracer for OpenGL ES** | Use the **[Android GPU Inspector](/agi)**. |\n| **Hierarchy Viewer** | If you want to inspect your app's view hierarchy at runtime, use [**Layout Inspector**](/studio/debug/layout-inspector). If you want to profile the rendering speed of your app's layout, use **[Window.OnFrameMetricsAvailableListener](/reference/android/view/Window.OnFrameMetricsAvailableListener)** as described in [this blog post](https://android-developers.googleblog.com/2017/08/understanding-performance-benefits-of.html). |\n| **Pixel Perfect** | Use **[Layout Inspector](/studio/debug/layout-inspector)**. |\n| **Network Traffic tool** | If you need to view how and when your app transfers data over a network, use the [**Network Profiler**](/studio/profile/network-profiler). |\n\nStart Android Device Monitor\n----------------------------\n\nTo start the standalone Device Monitor application in Android Studio 3.1 and\nlower, enter the following on the command line in the\n\u003cvar translate=\"no\"\u003eandroid-sdk\u003c/var\u003e`/tools/` directory: \n\n```\nmonitor\n```\n\n\u003cbr /\u003e\n\nYou can then link the tool to a connected device by selecting the device\nfrom the **Devices** pane. If you have trouble viewing panes or windows,\nselect **Window \\\u003e Reset Perspective** from the menu bar.\n\n**Note:** Each device can be attached to only one debugger\nprocess at a time. So, for example, if you are using Android Studio to debug\nyour app on a device, you need to disconnect the Android Studio debugger from\nthe device before you attach a debugger process from the Android Device\nMonitor."]]