0 votes
by (160 points)

UATHelper: 打包 (Android (ASTC)): FAILURE: Build failed with an exception.
UATHelper: 打包 (Android (ASTC)): * What went wrong:
UATHelper: 打包 (Android (ASTC)): Execution failed for task ':app:compileDebugAidl'.
UATHelper: 打包 (Android (ASTC)): > 1 exception was raised by workers:
UATHelper: 打包 (Android (ASTC)): java.lang.RuntimeException: java.lang.RuntimeException: java.io.IOException: com.android.ide.common.process.ProcessException: Error while executing process C:\Users\Admin\AppData\Local\Android\Sdk\build-tools\32.1.0-rc1\aidl.exe with arguments {-pC:\Users\Admin\AppData\Local\Android\Sdk\platforms\android-32\framework.aidl -o
Z:\app\build\generated\aidlsourceoutputdir\debug\out -IZ:\app\src\main\java -IZ:\app\src\debug\aidl -IC:\Users\Admin.gradle\caches\transforms-2\files-2.1\ffc4098914b91b7860907277c6a73623\media-1.0.0\aidl -IC:\Users\Admin.gradle\caches\transforms-2\files-2.1\f88df7c86cbc989e82020e686162bad6\core-1.0.0\aidl -IC:\Users\Admin.gradle\caches\transforms-2\fil
es-2.1\f1bc45fa819a5ff15e81f37590dd5bea\versionedparcelable-1.0.0\aidl -IZ:\downloader
library\build\intermediates\aidlparcelable\debug\out -IZ:\permissionlibrary\build\intermediates\aidlparcelable\debug\out -dC:\Users\Admin\AppData\Local\Temp\aidl7091982857756977895.d Z:\app\src\main\java\com\android\vending\licensing\ILicenseResultListener.aidl}
UATHelper: 打包 (Android (ASTC)): * Try:
UATHelper: 打包 (Android (ASTC)): Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
UATHelper: 打包 (Android (ASTC)): * Get more help at https://help.gradle.org
UATHelper: 打包 (Android (ASTC)): BUILD FAILED in 10s
UATHelper: 打包 (Android (ASTC)): > Task :app:compileDebugAidl FAILED
UATHelper: 打包 (Android (ASTC)): 1 actionable task: 1 executed
UATHelper: 打包 (Android (ASTC)): ERROR: cmd.exe failed with args /c "E:\FPSWithoutSDK\Intermediate\Android\armv7\gradle\rungradle.bat" :app:assembleDebug
UATHelper: 打包 (Android (ASTC)): (see C:\Users\Admin\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Epic+Games+UE
4.27\Log.txt for full exception trace)
PackagingResults: Error: cmd.exe failed with args /c "E:\FPSWithoutSDK\Intermediate\Android\armv7\gradle\rungradle.bat" :app:assembleDebug
UATHelper: 打包 (Android (ASTC)): AutomationTool exiting with ExitCode=1 (Error_Unknown)
UATHelper: 打包 (Android (ASTC)): BUILD FAILED
PackagingResults: Error: Unknown Error

1 Answer

0 votes
by (5.3k points)

你检查一下你的sdk和ndk路径设置的对不对,sdk版本号32太高了,可以下一个低一点的版本,可以参考文档第三节的配置。
https://developer.pico-interactive.com/document/doc
enter image description here

...