Ue4.19 try to launch on android device

I am still using ue4.19 it works well for me on jy equipment. I run into issues when trying to launch on mobile. Not sure what version of Android Studio to choose. 4.0 does not have folders like ue wants them to be. Finaly i used codeworks to install stuff on c:\NVPACK. But i used codeworks installer from ue4.21. That one from 4.19 did not work. Now i got ndk14.b, jdk1.8, gradle4.1, apache-ant1.8.2, sdk26 or 25 not sure because folder has no version number. Anybody feels familiar with what i got here? Ue4.19 starts to build package but it stops with some gradle error… what to do?