UE4UE5 package Android error summary UnrealBuildTool failed solution

报错:Android\armv7\gradle\rungradle.bat......UnrealBuildTool failed

Solution:

1. Replace the gradle package

Download address: http://services.gradle.org/distributions/

Replace to: C:\Users\your username\.gradle\wrapper\dists\gradle-xx-all\xxxxxxxxxxxxxxxxxxxxxxxx.

2. Update the SDK
Check the latest SDK in the SDK manager in Android Studio (you can download and update directly in China)

3. Update NDK and Build tool 

Error: XXXXXX\gradle\rungradle.bat" :app :assembleDebug

Solution: In the SDK Manager, find SDK Tools - Show package details and delete the build tool version related to the error according to the error message.

Just pack it.

PS: The errors encountered in each version are inconsistent. There are no errors in the previous version 4.24, but there will be new errors in the new version. Be sure to read more error messages, you may not be able to find your mistakes online (internal / external w may not find the answer). Try and see more.

 

 

 

 

 

Guess you like

Origin blog.csdn.net/qq_21153225/article/details/124147594
Recommended