-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
emergency config export fails #759
Comments
Hi, what is your absolute path to the internal storage root? I've got /storage/emulated/0 . |
same:
/storage/emulated/0/Android/media/com.github.catfriend1.syncthingandroid
looks like thecode expects, that I have at least two drive and removes 0
from the list, so it ends up with an empty list. I can't figure out why.
wouldn't it be better to just choose the last drive fromthe list (which is
not null)?
|
The question (from my mind) is , the last drive could be an external sdcard where prior Android 11 the export never worked because of SAF requirements. Will re-check this when I have more time and on PC. |
Could you try to get root for this? At least some people would then have a possibility to workaround this. |
Solved by #787 (We now got all files access on Android 11.) If it does not solve the storage root detection, I honestly don't know why it fails on some rare makes and models. |
Bug on some devices: #541 |
#808) * PhotoShootActivity: Move getExternalFilesDir to FileUtils * Update ConfigXml.java * Update PhotoShootActivity.java * Update Constants.java * Update SyncthingRunnable.java * Update SyncthingRunnable.java * Update PhotoShootActivity.java * Update FileUtils.java * Update FirstStartActivity.java
Clicking the emergency expot button gives a nondescriptive error (with a suggestion to look for it in logcat). The message I found in logcat:
Failed to export config. Could not determine app's private files directory on external storage.
The directory /storage/emulated/0/Android/media/com.github.catfriend1.syncthingandroid is created, but empty.
Description of the issue
Reproduction Steps
Version Information
Device platform info
Android Log
The text was updated successfully, but these errors were encountered: