The official version of UE4 does not yet support the creation of games for Android with a server function. At the moment you can only build the client on Android. But you can download the source code from github, fix the necessary files and build a custom version of UE4 with this feature.