Android SDK证书 Unable to read Android/package.xml
How To Fix Unable to read package in Unreal Engine
解决办法:在Epic 库中添加 Android SDK:
![](https://i-blog.csdnimg.cn/blog_migrate/63d21b6ba667ef65d828f4dcdd1f640d.png)
dx.bat不存在
UEDeployAndroid.FilterStdOutErr: Build-tool 33.0.0 is missing DX at AppData\Local\Android\Sdk\build-tools\33.0.0\dx.bat
UEDeployAndroid.FilterStdOutErr:
UEDeployAndroid.FilterStdOutErr: FAILURE: Build failed with an exception.
UEDeployAndroid.FilterStdOutErr:
UEDeployAndroid.FilterStdOutErr: * What went wrong:
UEDeployAndroid.FilterStdOutErr: Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
UEDeployAndroid.FilterStdOutErr: > Installed Build Tools revision 33.0.0 is corrupted. Remove and install again using the SDK Manager.
32 33改名为d8.bat了,用29等版本:
![](https://i-blog.csdnimg.cn/blog_migrate/763e9c2ae243ff8e3475e10070874f87.png)
3、UE4与NDK的兼容
![](https://i-blog.csdnimg.cn/blog_migrate/8eaa7b2d8cb81b398598ab3f86aad1ca.png)
4、Android配置
![](https://i-blog.csdnimg.cn/blog_migrate/30954d72bba1701b1909bd7453a7d3a5.png)
5、参考文档
设置虚幻的Android SDK和NDK | 虚幻引擎文档 (unrealengine.com)
ue4.27 android打包环境配置 - 知乎 (zhihu.com)
(1条消息) UE4 4.24-4.25安卓打包NDK问题_Yuk丶的博客-CSDN博客
(1条消息) UE4 安卓打包失败 failed for task :permission_library:compileDebugJavaWithJavac_东门吹白雪的博客-CSDN博客
安卓工作室 - 虚幻引擎 Vr 错误 :app:compileDebugJavaWithJavac 失败,错误:cmd.exe 失败,参数 /c - 堆栈溢出 (stackoverflow.com)