安卓真机初始化时出现IOException: Read-only file system问题
D
Derek
SDK版本:UnitySDK 7.10.0-beta
Unity版本:Unity2022.3.20.f1
描述:打包安卓真机,采用自动初始化/手动代码初始化时,均出现以下问题,内部使用的获取路径无法正常在真机CreateDirectory,请问如何解决
IOException: Read-only file system
at System.IO.FileSystem.CreateDirectory (System.String fullPath) [0x00000] in <00000000000000000000000000000000>:0
at System.IO.Directory.CreateDirectory (System.String path) [0x00000] in <00000000000000000000000000000000>:0
at GameAnalyticsSDK.Net.Device.GADevice.GetPersistentPath () [0x00000] in <00000000000000000000000000000000>:0
at GameAnalyticsSDK.Net.Device.GADevice..cctor () [0x00000] in <00000000000000000000000000000000>:0
at GameAnalyticsSDK.Net.GameAnalytics..cctor () [0x00000] in <00000000000000000000000000000000>:0
at Assets.Scripts.AdapterSTGA..ctor (Assets.Scripts.StatisticManager mng) [0x00000] in <00000000000000000000000000000000>:0
at Assets.Scripts.StatisticManager.Install () [0x00000] in <00000000000000000000000000000000>:0
at Assets.Scripts.Controller.FrameworkController+<>c.<InitFramework>b__4_3 () [0x00000] in <00000000000000000000000000000000>:0
at Assets.Scripts.Controller.FrameworkController+<>c.<InitFramework>b__4_3 () [0