赞
踩
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,解压后可直接使用,不再报错
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。