【问题标题】:Viewing hidden files on Android Studio's Android Device Monitor?在 Android Studio 的 Android 设备监视器上查看隐藏文件?
【发布时间】:2017-05-11 17:27:37
【问题描述】:

我为我的应用创建了一个隐藏目录,并希望在 Android Studio 的 Android 设备监视器上查看它,但是 ADM 没有显示该目录。如何更改 ADM 的首选项以查看该文件夹?

【问题讨论】:

    标签: android android-studio hidden-files android-device-monitor


    【解决方案1】:

    作为源代码阅读后,我发现作为提交命令“ls -l”到设备,所以如果我们想查看隐藏文件,你可以repo作为源代码将命令更改为“ls -al”,然后构建 as。

    【讨论】:

      【解决方案2】:

      在没有 hack 的情况下,这在 Android Studio 中似乎仍然是不可能的。另一种方法是使用 adb:

      adb shell
      cd your/desired/directory
      ls -a
      
      etc.
      

      【讨论】:

        猜你喜欢
        • 2015-06-11
        • 2014-09-03
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2018-10-26
        • 2015-11-23
        • 1970-01-01
        相关资源
        最近更新 更多