Not able to package to android

Hi, I am a beginner in unreal engine. I want to package
an empty project to android so to make sure that I have setup all things correctly to package to android. But I am getting an error like this-


I am using unreal engine 4.26
Would Appreciate any help!

Hi, I’m getting the same error in 4.27. Have you made any progress with this?

No, not made any progress

Finally I have solved it!
Steps to resolve the error-

  1. delete any unreal engine version in your pc that used codeworks
  2. set minimum sdk version and target sdk version to default (in my case it was set to 19 and 28 respectively)
  3. in android sdk section set ndk to android-21 and sdk to matchndk
  4. do not forget (which I forgot) to set the android package name
    The error should have disappeared by now.