ndk-r21e往后的版本都没有platforms文件夹,而2dx很多地方依赖于这个文件夹里的lib。升级以后诸多相关报错。
请问大佬如何升级,大致需要改哪些部分。
或者有相关文档也行,小弟对android原生配置不熟。
其实现在ndk-r21e用着也还凑合,但是google play现在支持的最后api版本是android api level 30(即android 11)。
等到强制要求全部升级 api level 31的时候就gg了。ndk-r21e只支持到 api level 30。
算未雨绸缪吧
换成android-ndk-r23b报错如下
NDK is missing a "platforms" directory.
If you are using NDK, verify the ndk.dir is set to a valid NDK directory. It is currently set to D:\CI\Ci_Tools\android-ndk-r23b.
If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.