Android Packaging Error

Hi people
So I have just started using unreal and I want to package for android but it’s not working. Errors occur.
I have been through other topics but all of the suggested solutions didn’t work. Most of the are for older versions. I have included the text file of the output console but here are the error lines:

UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Z:\app\src\main\java\com\epicgames\ue4\GameActivity.java:3531: error: cannot find symbol

UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): ERROR: cmd.exe failed with args /c “C:\Users\Ahmad Naweed Rustami\Documents\Unreal Projects\MyProject3\Intermediate\Android\gradle\rungradle.bat” :app:bundleDebug

PackagingResults: Error: cmd.exe failed with args /c “C:\Users\Ahmad Naweed Rustami\Documents\Unreal Projects\MyProject3\Intermediate\Android\gradle\rungradle.bat” :app:bundleDebugError Report.txt (14.3 KB)