Access to the path 'C:\Users\UserName\Desktop\MyGamesUE4\TrialGame\Intermediate\Android\arm64\res\drawable\splashscreen_portrait.png' is denied.

I was packaging a game for android and came up with this error
Access to the path ‘C:\Users\UserName\Desktop\MyGamesUE4\TrialGame\Intermediate\Android\arm64\res\drawable\splashscreen_portrait.png’ is denied.
Please answer a solution for this.
If possible please provide the steps to do it.

The error said that Unreal cant get access to splashscreen_portrait.png as if it is open in other application. Sometimes it can also be if you dont have enough permissions on the side of Unreal. I often run Unreal as Administrator to give it a shot…