UE4 Android environment configuration essay

Original article, please indicate the source for reprinting.

Author's UE4 engine version: 4.26.2
Official UE4 configuration documentation: Jump to official documentation

Follow the steps on the official website above, download Android Studio 4.0, and follow the steps above.

When packaging, I keep reporting an error: I forgot to take a screenshot, and the content of the error is as follows

Installed Build Tools revision 32.0.0 is corrupted. Remove and install again
app:assembleDebug

The red font of the final error message is: app:assembleDebug
If you are more careful, you may find the following words
Whats is wrong: Installed Build Tools revision 32.0.0 is corrupted. Remove and install again

The translation is that the SDK Tools you downloaded are damaged, and you are asked to uninstall and reinstall them in the SDK Manager in Android Studio,
but the actual reason is that the downloaded 32.0.0 and 31.0.0 do not match the unreal engine4.26.2. I tested and found that 30.0.3 can be used.
My Android SDK Manager configuration interface is as follows, just for reference
SDK Platforms:
insert image description here
insert image description here
SDK Tools:
insert image description here
insert image description here
You don’t need to choose this NDK yourself, it is downloaded in the steps of UE4, run AndrodSetup.bat to download it.
insert image description here
insert image description here

Guess you like

Origin blog.csdn.net/u011718663/article/details/121981394