在 ABI 的 NDK 工具链文件夹中找不到带有前缀的工具链:mips64el-linux-android [英] No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android
问题描述
谁能告诉我为什么我会收到这个错误?我已经从 GitHub 下载了一系列用于 Udacity 课程的项目.由于 repo 中有大约 50 或 60 个项目(练习和解决方案),我认为这与每个都是单独的项目有关.当我 fork 一个 repo 并在本地克隆它时,我通常没有问题.
Can anyone tell me why I am receiving this error? I have downloaded a series of projects from GitHub for a Udacity course. Since there are about 50 or 60 projects (Exercises and Solutions) in the repo, I presume it has to do with the fact that each is an individual project on its own. I do not have a problem usually when I fork a repo and clone it locally.
我已经阅读了有关在 sdk 中卸载和重新安装 ndk 的其他帖子.但我真的很想知道为什么会发生这种情况,以及如何在不盲目卸载和重新安装的情况下进行修复.任何帮助表示赞赏.谢谢.
I have read other posts about uninstalling and reinstalling ndk in the sdk. But I really want to know why this is happening and how I can fix without blindly uninstalling and re-installing. Any help is appreciated. Thanks.
推荐答案
环顾四周后,解决方案是从我的首选项中删除 NDK 名称.
After looking around, the solution was to remove the NDK designation from my preferences.
Android Studio →首选项 →系统设置→Android SDK →SDK工具→取消选择 NDK →应用按钮.
Android Studio → Preferences → System Settings → Android SDK → SDK Tools → Unselect NDK → Apply button.
项目和 Gradle 在那之后编译得很好,我能够继续我的项目工作.
Project and Gradle compiled fine after that and I was able to move on with my project work.
至于发生这种情况的原因,我不知道,但有关 NDK 的更多信息,请查看:https://developer.android.com/ndk/
As far as why this is happening, I do not know but for more info on NDK check out: https://developer.android.com/ndk/
我将返回并启用这些库,但暂时如此.
I will go back and enable these libraries but for now.
这篇关于在 ABI 的 NDK 工具链文件夹中找不到带有前缀的工具链:mips64el-linux-android的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!