NDK配置问题:NDKdoesnotcontainanyplatforms.

更新时间:2023-05-10 18:49:46 阅读: 评论:0

NDK配置问题:NDKdoesnotcontainanyplatforms.
在Android Studio当中⽤SDK Manager下载了NDK之后,要配置NDK路径,不能Apply,弹出提⽰:NDK does not contain any platforms.
The Android NDK's platform directory has been obsolete since r19. The NDK team removed it altogether in r21. This was a recent change and the stable version of the Android Studio IDE (at least on Mac) is still looking for the platform directory when you lect an r21 or higher version and try to Apply it. The IDE gives the error "NDK does not contain any platforms."
Until Android Studio is updated, a fix is to edit the local.properties file yourlf, like so:
ndk.dir=/Urs/[urname]/Library/Android/sdk/ndk/22.0.7026061
sdk.dir=/Urs/[urname]/Library/Android/sdk
只能静候Android Studio更新啦~

本文发布于:2023-05-10 18:49:46,感谢您对本站的认可!

本文链接:https://www.wtabcd.cn/fanwen/fan/89/880111.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:配置   不能   静候   只能   路径   问题   弹出
相关文章
留言与评论(共有 0 条评论)
   
验证码:
推荐文章
排行榜
Copyright ©2019-2022 Comsenz Inc.Powered by © 专利检索| 网站地图