I’m suffering with the problem of compiling on Android for a week. I can not compile an empty and not empty project on this platform.
A week ago I asked the same thing and there was no working answer.
I navigated all the questions on the forums and did exactly as recommended there - it did not help.
Reinstalled Windows 10.
Delivered Visual Studio 2015 + all the checkboxes with C ++ and Android.
I put on the compilation for more than an hour.
Did completely in the documentation + 2 more video lessons (there is almost the same, but anything can be).
(- YouTube - YouTube)
I ask to help if anyone knows, thank you) log.txt
so i am not sure what is the exact problem and not sure if my answer is helpful but here is how you compile your game for android:
go to “UnrealEngine-4.15\Engine\Extras\AndroidWorks\Win64” install android works (this will install all SDK,JDK stuff and set all the proper env variable i guess)
now run “UnrealEngine-4.15\Setup.bat” (by default it will say “excluding Mac,android,linux” but now that you have the android works installed, it will also download android data for you)
after setup is done, run “GenerateProjectFiles.bat”
open “UE4.sln”
Change build mode to “development” and set platform to “android”
Build UE4
after build is done open your project in ue4, Open project setting
in Packaging> set “build configuration” to “development”.
8.
in Platforms> Android> there might be a Red bar at the top saying “project is not configured for anroid” hit the button “Configure Now”.
and that should be it.
you should now be able to go to “file>package project>Android” and build your project for android