当前位置:   article > 正文

【问题记录】【Unity打包Android】Android NDK not found / NDK 16 detected. Unity requires NDK r19(64-bit)_android ndk not found android ndk not found or inv

android ndk not found android ndk not found or invalid. please, fix it in pr

NDK配置报错:

Edit -> Preferences -> External Tool -> Android NDK

不支持原有版本:android-ndk-r16b,需要r19才行

NDK 16.1.4479499 detected. Unity requires NDK r19(64-bit)(19.0.5232133).

打包报错:

UnityException: Android NDK not found
Android NDK not found or invalid. Please, fix it in Preferences -> External Tools
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

解决:

参考:

[Solved] 2019.3.0a4 incompatible ndk - Unity Forum

Resolved - Android NDK missing - Unity Forum

去官网下载19c的版本号与Unity指定的不一致,仍然会报错,只能下载指定的NDK r19(64-bit)(19.0.5232133)版本

下载链接:https : //dl.google.com/android/repository/android-ndk-r19-windows -x86_64.zip,解压后可直接使用,不再报错

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/菜鸟追梦旅行/article/detail/119194
推荐阅读
相关标签
  

闽ICP备14008679号