Guidelines
Describe the bug
Logcat error:
java.lang.IllegalStateException: Failed to prepare
/storage/emulated/0/Android/data/com.machiav3lli.fdroid/files
at RepositoryUpdater.processIndexV2(...:353)
Root cause: Neo Store calls getExternalFilesDir() to store
index-v2 JSON files, but the directory is not created
automatically on this ROM.
Expected Behavior
I found a way to fix this error. I'm opening the problems, but this fix will prevent the error from occurring. By entering the commands below, the synchronization problem will be eliminated by creating the targeted index directory.
su -c "mkdir -p /storage/emulated/0/Android/data/com.machiav3lli.fdroid/files/index"
su -c "chmod 777 /storage/emulated/0/Android/data/com.machiav3lli.fdroid/files"
su -c "chmod 777 /storage/emulated/0/Android/data/com.machiav3lli.fdroid/files/index"
If you want root access, you can solve this in this way, but this solution is temporary. For the real solution, the application needs to create the directory it directly targets.
Neo Store's Version
1.2.6
Installation Source
Github/Codeberg/Gitlab releases
Last Known Working Version
1.2.6
Relevant information
- Device: Redmi note 10 pro
- Android Version: 16
- ROM: İnfinity X
- Disabled battery optimization for Neo Store? = yeah
- What is your selected installer? = Root installer
Guidelines
Describe the bug
Logcat error:
java.lang.IllegalStateException: Failed to prepare
/storage/emulated/0/Android/data/com.machiav3lli.fdroid/files
at RepositoryUpdater.processIndexV2(...:353)
Root cause: Neo Store calls getExternalFilesDir() to store
index-v2 JSON files, but the directory is not created
automatically on this ROM.
Expected Behavior
I found a way to fix this error. I'm opening the problems, but this fix will prevent the error from occurring. By entering the commands below, the synchronization problem will be eliminated by creating the targeted index directory.
If you want root access, you can solve this in this way, but this solution is temporary. For the real solution, the application needs to create the directory it directly targets.
Neo Store's Version
1.2.6
Installation Source
Github/Codeberg/Gitlab releases
Last Known Working Version
1.2.6
Relevant information