How to open Android Device Monitor in latest Android Studio 3.1

前端 未结 15 674
说谎
说谎 2020-12-02 17:59

Recently I updated my android studio, after the update, I am unable to find android device monitor option in the tools section. In the previous update it was there in to

相关标签:
15条回答
  • 2020-12-02 18:47

    Check this link out.

    Open your terminal and type: Android_Sdk_Path/tools

    Run ./monitor

    0 讨论(0)
  • 2020-12-02 18:49

    Now you can use device file explorer instead of device monitor. Go to

    view > tool windows > device file explorer

    screenshot: opening device file explorer in android studio 3.1.3

    More details

    1. Click View > Tool Windows > Device File Explorer or click the Device File Explorer button in the tool window bar to open the Device File Explorer.
    2. Select a device from the drop down list.
    3. Interact with the device content in the file explorer window. Right-click on a file or directory to create a new file or directory, save the selected file or directory to your machine, upload, delete, or synchronize. Double-click a file to open it in Android Studio.

    Android Studio saves files you open this way in a temporary directory outside of your project. If you make modifications to a file you opened using the Device File Explorer, and would like to save your changes back to the device, you must manually upload the modified version of the file to the device.

    screenshot: The Device File Explorer tool window

    When exploring a device's files, the following directories are particularly useful:

    data/data/app_name/

    Contains data files for your app stored on internal storage

    sdcard/

    Contains user files stored on external user storage (pictures, etc.)

    Note: Not all files on a hardware device are visible in the Device File Explorer. For example, in the data/data/ directory, entries corresponding to apps on the device that are not debuggable cannot be expanded in the Device File Explorer.

    0 讨论(0)
  • 2020-12-02 18:49

    On Android Studio 3.1 and above, you can push photos to the emulator, by first starting the emulator. Then select “Device File Explorer” from the menu at the top of the screen: View/Tool Window/Device File Explorer Then look in the folder titled “sdcard” and you will see a folder titled “Pictures”, click on it. Then right click it and select “Upload” and navigate to the photo on your computer, to the photo you would like to push onto the emulator. The restart the emulator. See photo below: example of uploading a photo to emulator

    0 讨论(0)
提交回复
热议问题