「アクセス拒否」/「読み取り専用ストレージ」:コンテンツへのアクセス/編集/同期ができません

Androidでコンテンツの保存/同期/編集ができない場合、以下のいずれかの要件が満たされていない可能性があります。

  1. 権限:MediaMonkey for Androidは、コンテンツの編集、削除、同期を行うために、共有ストレージの場所(例:/Music)への書き込み権限を持っている必要があります。
  2. 書き込み可能なメディア:保存場所がSDカードなどの外部メディアである場合、書き込み可能である必要があります(読み取り専用であってはなりません)。
  3. ライブラリへの組み込み: コンテンツを MediaMonkey for Android ライブラリに表示するには、コンテンツを含む場所をライブラリの一部として構成する必要があります。
  4. 同期プロファイル: Android 用 MediaMonkey と Windows 用 MediaMonkey は、相互に同期するように正しく構成されている必要があります。

許可

Android 5 以降* を実行しているほとんどのデバイスでは、SD カードへのアクセス許可が付与されると、MediaMonkey は SD カード上の /Music や /Videos などのディレクトリにアクセスして同期できます。Android 11 以降を実行しているデバイスでは、MediaMonkey 2 は Android の新しいプライバシー/セキュリティ技術を使用して、アクセスが許可されたフォルダーのみに MediaMonkey のアクセスを制限します。

特定の Samsung、Oppo、Vivo デバイスでは、フォルダーへのアクセスを許可できない場合があり、操作を実行すると「アクセスが拒否されました」というエラーが発生します。この問題を回避するには、次の操作を実行します。

  1. フォルダー権限に関するアプリケーション要求を受け入れるように Android を手動で設定する:
    1. Androidの設定に行き、「すべてのファイルへのアクセス」を探してタップします
    2. 右上隅の3つのドットメニューをタップし、「システムを表示」をタップします。
    3. リストで「外部ストレージ」を見つけてタップします
    4. 「すべてのファイルの管理へのアクセスを許可する」権限設定を有効にします
    5. MediaMonkeyを再起動し、プロンプトが表示されたら権限を付与します。
  2. 一部のデバイスでは、MediaMonkey に SD カードへのアクセスを手動で許可すると機能する場合があります。
    1. Androidの設定に移動
    2. 「セキュリティとプライバシー」->「プライバシー」->「権限マネージャー」->「ファイルとメディア」に移動します
    3. 右上隅の3つのドットメニューをタップし、「システムを表示」をタップします。
    4. 次に、「すべてのファイルにアクセスできるその他のアプリを表示」をタップします。
    5. MediaMonkeyの「外部ストレージ」を有効にする

MediaMonkey は通常、特定のディレクトリ上のコンテンツの読み取り/書き込み/削除に必要な権限を自動的に要求します。さらに、[オプション] > [ライブラリと同期] > [ライブラリフォルダの選択] メニューでは、ライブラリの一部へのアクセスを妨げている権限の問題があるかどうかを確認できます。以下の画面は、MediaMonkey 1.x で SD カードへのアクセスを許可する方法を示しています。これらのダイアログは MMA 2.x でも同様に機能しますが、Android 11 以降では、ストレージ メディアではなく特定のディレクトリへのアクセスを許可する必要があることに注意してください。

  1. MediaMonkey は、SD カード上のフォルダーへの書き込みアクセスを許可するかどうかをユーザーに尋ねるダイアログを自動的に表示します (ユーザーがこれをスキップした場合は、[オプション] > [外部ストレージへのアクセスを許可] からこれを再開できます)。
  2. 次に、MediaMonkey は Android システムのフォルダ選択ダイアログを開き、ユーザーはそこから特定のフォルダ (または SD カード全体) を選択して、その場所への MediaMonkey のアクセスを許可できます。


重要: Android が MediaMonkey の権限を削除しないようにするには (MediaMonkey を定期的にのみ使用する場合に発生する可能性があります)、MediaMonkey アイコンを長押しし、「情報」を押して、「アプリが使用されていない場合は権限を削除する」を無効にします。

注記:

  • Android のカスタマイズされたバージョンには、「SD カードを表示」オプションがない場合があります。例:
    • 一部の Huawei デバイスでは、[設定] で [x] 詳細なデバイスを表示 を有効にした後でのみ、[開く] (上記参照) に SD カードが表示されます。次に、SD カードに移動して [すべて選択] します ([SD カードを選択] オプションがないため)。
    • 一部の Xiaomi デバイスでは、MediaMonkey をインストールした後 (ただし実行する前に)、[設定] に移動し、[インストール済みアプリ]、[ドキュメント] の順にタップし、下部にある [有効にする] アイコンをタップしてアクセスを許可する必要があります。その後、MediaMonkey を初めて実行します。
  • MediaMonkey が外部ストレージを検証できない場合、特定のデバイスでは共有フォルダーがサポートされないことがあります。このようなデバイスでは、同期はアプリ固有のフォルダーへの書き込みに制限されます。

書き込み可能なメディア

SDカードなどの外部ストレージが読み取り専用になっている場合、設定ミスやストレージメディアの破損が原因である可能性があります。以下の手順で解決してみてください。

  • マウント解除と再マウント:設定 > ストレージに進み、SDカードを選択して「マウント解除」を選択します。スマートフォンを再起動してから、設定画面に戻り「マウント」を選択します。
  • ファイルマネージャーのキャッシュをクリアするには:[設定] > [アプリ] > [ファイル](またはSamsung My Filesなどのブランド独自のファイルマネージャー)に移動し、[ストレージ]をタップして、[キャッシュをクリア]を選択します。
  • PC でチェック (DISPATCH / CHKDSK): SD カードを取り外し、コンピュータのアダプタに挿入し、コマンド プロンプトで chkdsk を実行してファイルシステムのエラーを修復するか、Windows の diskpart を使用して読み取り専用属性をクリアします。
  • カードのフォーマット:ソフトウェアによる修復が失敗した場合は、データをコンピュータにバックアップし、スマートフォンの「設定」>「ストレージ」>「SDカード」>「フォーマット」から、またはコンピュータを使用してカードをフォーマットしてください。

ライブラリへの組み込み

権限が付与されると(そして、宛先メディアが書き込み可能であることを前提として)、MediaMonkey はアプリ固有のディレクトリ(例: SD Card/Android/Data/com.ventismedia.mediamonkey/Music)から共有ディレクトリ(例: SD Card/Music)へファイルを自動的に移動し、/SD Card/Music などの標準的なメディアの場所をライブラリに自動的に含めます。SD カードのコンテンツが見つからない場合は、[オプション] > [ライブラリフォルダを選択] から新しい場所を手動で追加できます。

プロファイルを同期

コンテンツを同期するには、MediaMonkey for Android と MediaMonkey for Windows が互いを認識して同期できるように設定する必要があります。MediaMonkey for Windows がデバイスを認識しない場合、またはデバイスが MediaMonkey for Windows を認識できない場合は、 この記事を参照してください。

関連記事:

MediaMonkey を Android デバイスと同期する [オンライン ヘルプ]

適用対象: 、

Translated automatically (see original)

‘Permission Denied’ / ‘Read-only storage’: Unable to access / edit / sync content

If you’re unable to save/sync/edit content on Android, it’s likely because one of the following requirements aren’t being met:

  1. Permission: MediaMonkey for Android must have permission to write to shared storage locations (e.g. /Music), in order to be able to edit / delete / sync content.
  2. Write-able Media: If the location is external media such as an SD card, it must be write-able (not read-only).
  3. Inclusion in the library: In order for content to be visible in the MediaMonkey for Android library, the location containing the content must be configured to be part of the library.
  4. Sync profile: MediaMonkey for Android and MediaMonkey for Windows must be correctly configured to sync with one another.

Permission

On most devices running Android 5 and up*, MediaMonkey is able to access/sync to directories such as /Music or /Videos on an SD card once permission to access the SD card has been granted. On devices running Android 11 and up MediaMonkey 2 uses Android’s new privacy/security technologies to restrict MediaMonkey’s access specifically to folders to which access has been granted.

On certain Samsung, Oppo, and Vivo devices granting folder access may fail, and operations will result in a ‘Permission Denied‘ error. You can work around this problem by:

  1. Manually setting Android to be able to accept application requests for folder permissions:
    1. Go into Android Settings and search for ‘All files access’ and tap it
    2. Tap the 3-dot menu in the top-right corner and tap ‘Show System’
    3. In the list, locate and tap ‘External Storage’
    4. Enable the permission setting ‘Allow access to manage all files’
    5. Restart MediaMonkey and Grant Permissions when prompted
  2. On some devices it may work to manually grant MediaMonkey access to the SD Card:
    1. Go into Android Settings
    2. Navigate to ‘Security and Privacy’ -> ‘Privacy’ -> ‘Permission Manager’ -> ‘Files and Media’
    3. Tap the 3-dot menu in the top-right corner and tap ‘Show System’
    4. Then tap “See more apps that can access all files”
    5. Enable “External Storage” for MediaMonkey

MediaMonkey normally automatically prompts for necessary permissions to read / write / delete content on specific directories. Moreover, from the menu Options > Library & Sync > Choose Library folders, it will show you if there are any permission issues that are preventing access to portions of the library. The screens below illustrate how MediaMonkey 1.x allows one to grant access to the SD card. These dialogs work similarly for MMA 2.x, but remember–on Android 11+ you must grant access to specific directories (rather than a storage medium):

  1. MediaMonkey automatically displays a dialog asking the user to grant write access to a folder on the SD card (if the user skips this, it’s possible to restart this via Options > Grant access to external storage).
  2. MediaMonkey then opens an Android system folder chooser dialog, from which the user can choose a specific folder (or the entire SD card) in order to grant MediaMonkey access to that location.


Important: To prevent Android from removing MediaMonkey’s permissions (this can occur if you only use MediaMonkey periodically), tap-hold the MediaMonkey icon, press ‘Information’, and disable ‘Remove permissions if app is unused).

Note:

  • Some customized versions of Android may not have a ‘Show SD Card’ option. For instance:
    • On some Huawei devices ‘Open from’ (see above) will only show SD cards after first enabling [x] Show advanced devices (in ‘Settings’). Then navigate to the SD card and ‘Select all’ (as there is no ‘Select SD card’ option).
    • On some Xiaomi devices, after installing MediaMonkey (but before running it), you need to go to Settings, Tap on Installed Apps, Tap on Documents, Tap on the “Enable” icon on the bottom in order to grant access. Then run MediaMonkey for the first time.
  • Shared folders may not be supported on certain devices if MediaMonkey is unable to validate the external storage. For such devices synchronization is limited to writing to app-specific folders.

Write-able Media

If an SD card or other external storage location is read-only, it can be due to misconfiguration or corruption of the storage media. You can try the following to resolve this:

  • Unmount and Remount: Go to Settings > Storage, select your SD card, and choose Unmount. Restart your phone, then go back and choose Mount.
  • Clear File Manager Cache: Go to Settings > Apps > Files (or your brand’s file manager like Samsung My Files), tap Storage, and select Clear Cache.
  • Check via PC (DISPATCH / CHKDSK): Remove the SD card, put it in a computer adapter, and run chkdsk in the command prompt to repair file system errors, or use Windows diskpart to clear read-only attributes.
  • Format the Card: If software fixes fail, back up your data to a computer and format the card either through Settings > Storage > SD Card > Format on your phone or via your computer.

Inclusion in the library

Once permissions are granted (and assuming the destination media is write-able), MediaMonkey will automatically move files from app-specific directories (i.e. from SD Card/Android/Data/com.ventismedia.mediamonkey/Music) to shared directories (e.g. SD Card/Music) and automatically include standard media locations such as /SD Card/Music etc. within the library. If content from the SD card appears to be missing, you can manually add new locations via Options > Choose library folders.

Sync Profile

To sync content, MediaMonkey for Android and MediaMonkey for Windows must be configured to recognize one another so that they can sync. See this article if MediaMonkey for Windows does not recognize your device or your device cannot see MediaMonkey for Windows.

Related Articles:

Sync MediaMonkey with an Android device [online help]

Applies to: ,

Hide original

この記事は役に立ちましたか?