[#12597] Data cannot be retrieved from Samsung One UI 6.5 based on Android 16.
自动翻译暂时不可用
本帖暂时展示 GitHub 原始内容。
Platforms
Android
Build
159.7
Issue
Using Settings → Game Data → Import Data fails with an EACCES: Permission denied error. The game attempts to copy a mod file from the exported data archive into its own data folder (/storage/emulated/0/Android/data/io.anuke.mindustry/files/mods/) and fails during the copy/write step.
Steps to reproduce
Go to Settings → Game Data
Select "Import Data"
Choose a previously exported game data archive containing mod files
Import fails with
EACCES (Permission denied)while copyingmindustrydesignitschematic-browser-mod5.zipto the mods folder
Mods used
none (all mods disabled at the time, per user)
Save file
n/a
(Crash) logs
[E] arc.util.ArcRuntimeException: Error copying source file: mods/mindustrydesignitschematic-browser-mod5.zip (absolute)
To destination: /storage/emulated/0/Android/data/io.anuke.mindustry/files/mods/mindustrydesignitschematic-browser-mod5.zip (absolute)
at arc.files.Fi.copyFile(Fi.java:62)
at arc.files.Fi.copyTo(Fi.java:21)
at mindustry.ui.dialogs.SettingsMenuDialog.lambda$importData$65(SettingsMenuDialog.java:9)
at mindustry.ui.dialogs.SettingsMenuDialog.importData(SettingsMenuDialog.java:57)
at mindustry.ui.FileChooser$FileChooserParams.handleChooseResult(FileChooser.java:12)
at mindustry.android.AndroidLauncher$1.lambda$showFileChooser$2(AndroidLauncher.java:1)
Caused by: arc.util.ArcRuntimeException: Error stream writing to file: .../mods/mindustrydesignitschematic-browser-mod5.zip (absolute)
at arc.files.Fi.write(Fi.java:16)
Caused by: java.io.FileNotFoundException: .../mindustrydesignitschematic-browser-mod5.zip: open failed: EACCES (Permission denied)
at libcore.io.IoBridge.open(IoBridge.java:574)
Caused by: android.system.ErrnoException: open failed: EACCES (Permission denied)
at libcore.io.Linux.open(Native Method)
at libcore.io.ForwardingOs.open(ForwardingOs.java:579)
at libcore.io.BlockGuardOs.open(BlockGuardOs.java:274)
at android.app.AndroidForwardingOs.open(AndroidForwardingOs.java:120)
at libcore.io.IoBridge.open(IoBridge.java:560)
Submission
I have updated to the latest release (https://github.com/Anuken/Mindustry/releases) to make sure my issue has not been fixed.
I have searched the closed and open issues to make sure that this problem has not already been reported.
I am not using Foo's Client.
This issue occurs with no mods enabled.
I have attached a valid save file.
由 MDT GitHub 同步机器人自动同步。