I tried the following workflow:
- Build a basic project for Android, so it will add Android project files to the project folder
- Edit [Project]\Intermediate\Android\APK files (AndroidManifest and some custom Java Code) with what I needed, then I bridge this code in C++ with a similar logic that is present in the engine’s AndroidJNI.cpp
- Tried to build again
The problem is that UE rewrites the whole \Intermediate\Android folder with the Engine’s default everytime I build for Android, thus taking away any possibility of customising the AndroidManifest and Java files. How to work around this?