I tried for many times to setup the development environment by using CodeWorksforAndroid-1R6u1-windows.exe, but always failed.
Luckily, I found someone upload the [NVPACK folder][1] which I think is suitable, since the version of UE I use is 4.18.3.
I copied the NVPACK folder and pointed the Editor to the install locations.
While I clicked “Configure Now”, it prompted that “Could not overwrite Project Properties file”.
Finally, I fixed it by run Setup.bat -include=Android instead of Setup.bat.
Because the command Setup.bat, by default, only downloads the dependencies for the current platform. ([TUTORIAL] How to use Setup.bat and how to reduce download size]1)
Choosing Android I am getting an ugly error when building…
Severity Code Description Project File Line Suppression State
Error MSB3075 The command “…..\Build\BatchFiles\Build.bat UE4Editor Android Development -WaitMutex -FromMsBuild” exited with code 5. Please verify that you have sufficient rights to run this command. UE4 C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.MakeFile.Targets 44