OsmAnd~: When exporting settings, no file is created. Progress shows `NaN% 0/ 0 MB`, saving the file fails with `Error: java.io.IOException: read failed: ENO...

Drei Eck
2025-07-10T08:47:59Z

*Ahoj,*

*I was suggestet [↗ in this F-Droid forum post](https://forum.f-droid.org/t/31575/2) to raise the issue here in the "gitlab.com/fdroid/fdroiddata" repository -- which I so do now.*

---

I am Using OsmAnd~ from f-droid:

* OsmAnd Version: [OsmAnd~ 4.9.10](https://f-droid.org/repo/net.osmand.plus_491003.apk) ([F-Droid build](https://f-droid.org/en/packages/net.osmand.plus/))
* Android version: 11 (build date: 2021-05-22) (crDroid 7.6)
* Device model: "markw" (Xiaomi Redmi 4 Prime)

I encountered an issue regarding non-working settings export, which I initially [reported in the OsmAnd issue tracker](https://github.com/osmandapp/OsmAnd/issues/22249), but [OsmAnd replies with](https://github.com/osmandapp/OsmAnd/issues/22249#issuecomment-2797115230)

> 🔔 *Please note:* We are **not responsible for issues in the F-Droid build**.
Kindly try using our **official version from Google Play** or the latest **[nightly build](https://osmand.net/docs/versions/nightly_versions/#nightly-builds)** and see if the issue persists there.

and

> We have tested the described steps but **were unable to reproduce the issue**.

So I report it here -- is it an issue specific to the F-Droid build?
If not, what might be the issue, and how could I at least manually once export the settings so that I can re-import in a fresh re-installation?
(I have moved the stored assets from "internal app storage" to external SD card ("Multiuser Storage 2") before. I don't know if this affects it.)

---

The issue is:

### When exporting settings, no file is created. Progress shows `NaN% 0/ 0 MB`, saving the file fails with `Error: java.io.IOException: read failed: ENOENT (No such file or directors)`

#### Description

When exporting settings to a file, during export dialogue says "0/0Mb" and no file is created.

I have created a screen record that shows the behavious. In the end, when trying to safe the file it errors with `Error: java.io.IOException: read failed: ENOENT (No such file or directors)`.

*(Note that the wait times are times where the system stays unresponsive because most probably it does calculations.)*

Video:

---

https://github.com/user-attachments/assets/ccd52acb-1444-403f-86e0-ddf5cfd1a2a1

---

#### Steps to reproduce

* Go to "Settings" → "Import/export" → "Export to file".
* Select from "Settings" all, and from "Resources" "Rendering Style", "Routing" and "Online routing engines".
* Wait for the export to be generated, and while doing so see a progress window showing `NaN%` and `0/ 0 Mb`.
* When finished, try to save the file, which errors with `Error: java.io.IOException: read failed: ENOENT (No such file or directors)`.

Have also tried it to share to my email programme, same issue. Sharing other export files from other Apps works.

#### Actual result

`Error: java.io.IOException: read failed: ENOENT (No such file or directors)`.

#### Expected result

File is actually generated and can be saved.

#### Your Environment

* OsmAnd Version: [OsmAnd~ 4.9.10](https://f-droid.org/repo/net.osmand.plus_491003.apk) ([F-Droid build](https://f-droid.org/en/packages/net.osmand.plus/))
* Android version: 11 (build date: 2021-05-22) (crDroid 7.6)
* Device model: "markw" (Xiaomi Redmi 4 Prime)