Android Packaging Error : Automation Tool exiting with error code 5

Please Help Urgently!! I am making a VR cardboard project and when I am trying to package the game for android, it is giving me the following error in the output log.

Log: Google Drive: Sign-in

Settings Images:

Hello L1997,

Can you apply changes in below?

200467-1.png

Nope. Still not working. By the way, it is a blueprint type project.

Finally was able to solve it. There are a few things that need to be taken care of:

  1. SDK and NDK path shouldnt have white spaces
  2. SDK version should be working with unreal
  3. If you change the play store project name then delete the android src folder and build/src folder and rebuild the project