疑難排解

  • 對於某些執行API等級10或更舊版本的舊版裝置,記錄檔無法開啟記錄檔裝置,因為權限問題。 出現以下例外:java.lang.Exception: logcat returns error: Unable to open log device '/dev/log/main': Permission denied 因應措施:

    1. 在工作區的CatalogActivity專案下開啟AndroidManifest.xml。

    2. 將下列權限添加到[!DNL AndroidManfest.xml]檔案:

      android.permission.READ_LOGS
      

本頁內容

Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free
Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free
Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now
Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now