Agora-Flutter-SDK
Agora-Flutter-SDK copied to clipboard
Window build - agora-iris.log error with permission denied
Describe the bug Permission denied of logging when build the installer of window
To Reproduce Steps to reproduce the behavior:
- Create window build with: flutter pub run msix:create
- Installing the build on window
- The error of permission denied as image attached

Thanks for reporting, may I ask is it causing crashes?
Yes, it is crashing with the logs above.
@littleGnAl Could you please help to look into this issue soon, i am still waiting for releasing the window app. Thank you so much.
I am so sorry that I have no experience publishing the Windows app, but I just wonder why the AgoraRtcScreenSharing.exe has been executed directly.
@littleGnAl The error occurs because we do NOT have permission for iris-logger on the WorkSpace folder when installing. Could we change this logs to others path? Thank you.
@littleGnAl Could you pls help on this one?
Sorry for the late response, we are working on this fix.
After a little dig into the msix package, the AppxManifest.xml file will be created by default, and the Executable value will be set the first .exe file name https://github.com/YehudaKremer/msix/blob/f003af4ead7f536259a44985232412d45ce37714/lib/src/configuration.dart#L250, it will be set to AgoraRtcScreenSharing.exe in this case.
So if you are not using the screen sharing feature, you can chagne the Executable value to the actual .exe file name should be worked for this case.

and maybe this link is helpful https://github.com/YehudaKremer/msix/issues/120
@littleGnAl Thank so much for your information, the app is using the Share Screen feature.
This should be fixed on agora_rtc_engine: ^6.0.0.
Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. If you find this problem please file a new issue with the same description, what happens, logs and the output. All system setups can be slightly different so it's always better to open new issues and reference the related ones. Thanks for your contribution.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please raise a new issue.