How to fix APi/aPK error when trying to run 4.16?

I have the following error when trying to run on an android devicewith 4.16

Requires at least SDK API level 23, currently set to ‘android-19’ LogPlayLevel: Program.Main: ERROR: AutomationTool terminated with exception: ERROR: Can’t make an APK without an API installed (see “android.bat list targets”)

Attached are screens which show my android setup.

It works fine in the editor.

Can someone please let me know how this is fixed?

Can you delete this from installation section as this is the right place.

You need to install CodeWorksforAndroid-1R6u1 (\Engine\Extras\AndroidWorks\Win64)

Thanks a lot Simfo. The unreal app now runs on the smartphone.

Installed both on linux (Engine + CodeWorks 1R6u1), and still get the error: Requires at least SDK API level 23, currently set to ‘android-21’
I tried configuring sdk and ndk with ‘latest’ and also to fixed version. Where does the 21 come from?

I had the same issue on Windows after installing CodeWorksforAndroid-1R6u1-windows. I then had to install Android 6 (API 23) SDK Platform from NVPACK/Chooser.exe.

I have installed API 23 too, but still get the issue. Still wondering where it’s set to android-21.

No idea? I left my (Project Settings - Platforms - Android SDK) NDK API Level to android 19 and I left my (Project Settings - Platforms - Android) Minimum SDK and Target SDK to both be 9? The first time I installed API 23 I used SDK Manager which didn’t work. I had to install it with NVPACK\Chooser and switched the dropdown to “CodeWorks for Andoid 1R6u2” As for some reason I don’t have the 1R6u1 option. Once I got past this error, I also had to point my Java version to 1.8 due to another error I got later in the compile.

Ok, here’s my struggle and -eventually- solution. Same issue as everyone, especially @kemuri (installed everything but still not working), then I went back to the Chooser to install 1R6u1 which was not an option in the dropdown (interestingly enough I didn’t have the -u2 like @therealjbot, only an 1R4u2) so i stuck with 1R6. I selected Custom fro mthe install options (as opposed to Default or Full), deselected everything via the Deselect All button and then scrolled down to SDK API 23 and selected to install it manually (by default it was set to No Action bc i deselected all). Once this was done, everything works fine, deployed on device OK.
Min/Target version set to 14 as mentioned in the documentation, Platforms>Android SDK filled in by browsing manually to the correct folders

Thank you very very very much… Stupid **** problem… again…

Don’t you guys get tired of these problems? It seems like this is the most basic thing that needs to be supported and tested by epic… Installing engine, installing required SDK’s and running and packaging the game… Making games is easy. Working with all these horrible non-logic problems is a real pain in the ■■■.

Yes, installing with the NVPACK/Chooser as opposed to the NVPACK/android-sdk-windows/android-sdk-windows/SDK Manager seems to do the trick.
The former installs the APIs to NVPACK/android-sdk-windows/platforms, while the latter installs to NVPACK/android-sdk-windows/android-sdk-windows/platforms, where Unreal does not find it.

may i ask if you have the tegra installed and if its posible to install with vs 2017?