Skip to content

Commit bc96d85

Browse files
authored
Updated FAQ
1 parent e24a262 commit bc96d85

1 file changed

Lines changed: 10 additions & 6 deletions

File tree

.github/README.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,9 @@ This plugin supports Unity's new Input System but it requires some manual modifi
4848

4949
## FAQ
5050

51-
- **Android build fails, it says "error: attribute android:requestLegacyExternalStorage not found" in Console**
52-
53-
`android:requestLegacyExternalStorage` attribute in _AndroidManifest.xml_ grants full access to device's storage on Android 10 but requires you to update your Android SDK to at least **SDK 29**. If this isn't possible for you, you should open *SimpleFileBrowser.aar* with WinRAR or 7-Zip and then remove the `<application ... />` tag from _AndroidManifest.xml_.
51+
- **File browser doesn't show any files on Mac when sandboxing is enabled**
5452

55-
- **Can't show the file browser on Android, it says "java.lang.ClassNotFoundException: com.yasirkula.unity.FileBrowserPermissionReceiver" in Logcat**
56-
57-
If you are sure that your plugin is up-to-date, then enable **Custom Proguard File** option from *Player Settings* and add the following line to that file: `-keep class com.yasirkula.unity.* { *; }`
53+
This is a known issue but I can't give an ETA for a solution at the moment: https://github.com/yasirkula/UnitySimpleFileBrowser/issues/66
5854

5955
- **File browser doesn't show any files on Android 10+**
6056

@@ -64,6 +60,14 @@ File browser uses *Storage Access Framework* on these Android versions and users
6460

6561
Please see: https://github.com/yasirkula/UnitySimpleFileBrowser/issues/70
6662

63+
- **Android build fails, it says "error: attribute android:requestLegacyExternalStorage not found" in Console**
64+
65+
`android:requestLegacyExternalStorage` attribute in _AndroidManifest.xml_ grants full access to device's storage on Android 10 but requires you to update your Android SDK to at least **SDK 29**. If this isn't possible for you, you should open *SimpleFileBrowser.aar* with WinRAR or 7-Zip and then remove the `<application ... />` tag from _AndroidManifest.xml_.
66+
67+
- **Can't show the file browser on Android, it says "java.lang.ClassNotFoundException: com.yasirkula.unity.FileBrowserPermissionReceiver" in Logcat**
68+
69+
If you are sure that your plugin is up-to-date, then enable **Custom Proguard File** option from *Player Settings* and add the following line to that file: `-keep class com.yasirkula.unity.* { *; }`
70+
6771
- **RequestPermission returns Permission.Denied on Android**
6872

6973
Declare the `WRITE_EXTERNAL_STORAGE` permission manually in your [**Plugins/Android/AndroidManifest.xml** file](https://answers.unity.com/questions/982710/where-is-the-manifest-file-in-unity.html) with the `tools:node="replace"` attribute as follows: `<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" tools:node="replace"/>` (you'll need to add the `xmlns:tools="http://schemas.android.com/tools"` attribute to the `<manifest ...>` element).

0 commit comments

Comments
 (0)