Unity打包apk异常Failed to re-package resources

匿名 (未验证) 提交于 2019-12-03 00:25:02

报错:

CommandInvokationFailure: Failed to re-package resources.

stderr[
AndroidManifest.xml:5: error: Error: String types not allowed (at ‘configChanges’ with value ‘mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|screenLayout|uiMode|screenSize|smallestScreenSize|fontScale|layoutDirection|density’).
]


解决方案:



必须下载platform-tools对应的版本API,就能解决,

可参考:https://unitycoder.com/blog/2017/10/20/android-build-error-error-string-types-not-allowed-at-configchanges/

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!