解决-Android: No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux

【解决】No toolchains found in the NDK toolchains folder for ABI with prefix: arm-linux-androideabi 阅读详情

出现步骤

我在别的项目里用到了NDK的功能,再打开老的项目时,AndroidStudio提示该报错:

No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android

原因分析及解决办法

如果你用最新版的NDK编译过SO文件应该会有印象,官方现在支持的架构只有以下4种:

  • arm64-v8a
  • armabi-v7a
  • x86
  • x86_64

其它架构的都已经标记为deprecated。

通过对比两个项目发现,使用l NDK项目的Gradle版本(3.2.1)和老项目的Gradle版本(3.0.1)不一致。虽然AS都更新到了最新版本,但是gradle编译依然是老的版本。猜想是由于老版本的Gradle版本仍然会关联到mips-64架构的东西,而新版的AndroidStudio已经不支持,导致了报错。

于是:

  1. 将项目根目录上的gradle的classpath修改为
        classpath 'com.android.tools.build:gradle:3.2.1'
  1. 将gradle-wrapper.properties里面的gradle包修改为
distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip

再次编译,果然就可以了。

解决 No toolchains found in the NDK toolchains folder for ABI with prefix: xxxx 在网上了解了一下后,发现时ndk下的toolchain目录中,缺少对应架构的工具链。但当前官网中,NDK最新的稳定版本【下载后安装目录结构,将所需架构的工具链目录进行复制粘贴即可。解决方法:下载旧版本的NDK。日期:2024年7月3日。只有llvm的,没有什么。 阅读详情

相关推荐

android studio 报错:No toolchains found in the NDK toolchains folder for ABI with prefix: androideabi

android studio 创建支持 c++ 项目时,Run ‘app’ 报错: Execution failed for task ':app:stripDebugDebugSymbols'. > No toolchains found in the NDK toolchains folder for ABI with prefix: arm-linux-androideabi

zcc的博客 1977

No toolchains found in the NDK toolchains folder for ABI with prefix: arm-linux-androideabi

1、android开发(androidStudio环境)开放NDK的时候:报出:No toolchains found in the NDK toolchains folder for ABI with prefix: arm-linux-androideabi 问题如图: 2、这里只说我自己的解决办法,作为参考: 问题翻译过来就是:在ABI的NDK工具链文件夹中没有找到带有前缀:arm-linux-androideabi的工具链 3、这个问题一般出现在开发NDK的时候出现的,我的工程中带有NDK开

lizhong 5万+

解决"No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android"错误

今天安装了Android Studio 3.2,打开一个旧工程,编译提示"No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android" 网上也有解决办法,就是下载旧版的NDK,将其中的toolchain复制到新版的NDK中 但是感觉这种方式,不是解决的正道。 经过对新版ND...

人生代码 ---- 公众号 897

解决:No toolchains found in the NDK toolchains folder for ABI with prefix: arm-linux-androideabi

Android 编译时报错以下信息:大概意思是 NDK 工具链中缺少 CPU 架构支持:arm-linux-androideabi。看了一下我的 NDK 版本是 25.2.9519653,内部确认没有 arm-linux-androideabi 架构的支持。

Eric的博客 6018

量化平台深度测评:聚宽 / 米筐 / 迅投 QMT 对比分析

本文对比测评国内主流量化交易平台聚宽、米筐和迅投QMT,从回测性能、实盘稳定性和高级功能三方面展开分析。测试显示:聚宽在低频策略回测中效率最高(128秒),米筐次之;迅投QMT凭借C++直连架构实现最低延迟(150ms)和最高订单撤销成功率(98.5%)。平台特色方面,QMT的智能拆单算法可减少25%滑点损失,聚宽的因子库支持版本控制和缓存复用。建议低频策略选聚宽,高频交易选QMT,团队协作优先考虑聚宽。测试数据均来自合规实盘环境,建议根据策略特性进行试用验证。

tianchi2009123的博客 7383

5分钟搞定!用Cursor和.NET 9.0快速搭建串口通讯上位机(附VS Code插件配置)

本文分享了如何利用Cursor AI编程助手与.NET 9.0,在5分钟内快速构建一个功能完整的串口通讯上位机程序。通过自然语言描述需求,AI自动生成WinForms界面和核心代码,极大提升了硬件调试工具的定制开发效率。文章详细介绍了环境配置、AI协作编码、功能实现与调试的全过程。

weixin_28366353的博客 277

已解决 No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android 报错

已解决 No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android 报错

努力才是唯一的入场券。 5万+

Unsloth Desktop 本地大模型微调量化实战指南

大语言模型的本地化定制正在成为开发者与内容创作者的重要需求,而微调与量化则是其中最关键的两项技术。LoRA 与 QLoRA 通过仅训练少量低秩矩阵,大幅降低显存占用和训练成本,让消费级 GPU 也能完成模型适配;GGUF 格式则打通了训练与推理的边界,使微调后的模型可直接接入 Ollama、llama.cpp 等主流推理引擎。本文以 Unsloth Desktop 为切入对象,从其底层加速原理出发,梳理了环境准备、模型加载、对话测试、量化导出、微调验证及 API 批量调用的完整链路,并针对显存优化、端口冲突

weixin_29055137的博客 399

完美解决 No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android

问题描述 好久之前的一个Android项目,最近需要重构一下 因为Android Studio的开发环境以及Gradle的版本等等都进行了一定的更新,于是导入Project以后,出现了报错: No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android 如图所示: ...

Code for Coffee 21万+

Air780E模组AT指令实战:5分钟搞定MQTT连接EMQX服务器(附完整代码)

本文详细介绍了如何使用Air780E 4G模组通过AT指令快速连接MQTT服务器。从硬件接线、网络注册到MQTT连接配置,提供了完整的实战步骤和代码示例,帮助开发者快速实现物联网设备的数据上报与远程通信。

wdx012345的博客 743

Unity手游优化实战:用GPU Instancing把草地渲染的DrawCall从8000降到20(附完整Shader)

本文详细介绍了Unity手游中利用GPU Instancing技术优化草地渲染的实战方法,将DrawCall从8000降至20。通过Shader改造和性能优化技巧,开发者可以在移动端实现高效渲染,显著提升游戏性能。文章包含完整的Shader代码和优化策略,适合Unity开发者学习应用。

weixin_33691817的博客 489

完美解决 No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android

问题描述 好久之前的一个Android项目,最近需要重构一下 因为Android Studio的开发环境以及Gradle的版本等等都进行了一定的更新,于是导入Project以后,出现了报错: No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android 如图所示: ...

爬行的菜鸟的博客 464

脑肿瘤MRI图像分割实战:基于U-Net的深度学习完整指南

脑肿瘤是中枢神经系统最常见的疾病之一,全球每年有超过30万人被诊断为原发性脑肿瘤。在临床诊断和治疗过程中,磁共振成像(MRI)已成为评估脑肿瘤的标准影像学检查方法。然而,手动分割MRI图像中的肿瘤区域是一项耗时且依赖于专家经验的工作,不同医生之间可能存在显著差异。

YOLO 151

解决Error:No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android

android studio同步问题: Error:No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android 原因是NDK包下的toolchains少了 mips64el-linux-android等文件 解决方法:下载ndk包,找到对应路径下的文件复制到源nd...

liangtianmeng的专栏 707

131、高通骁龙影像平台总览:Spectra ISP 各代架构演进与特性对比

摘要:本文深入分析了高通骁龙Spectra ISP从250到780代的架构演进与技术痛点,揭示了各代关键改进与隐藏问题。重点剖析了双ISP带宽分配、AI ISP黑盒决策、温度控制等实战问题,并给出具体解决方案(如寄存器配置、QoS调整等)。文章强调工程师需平衡带宽、功耗与画质的三角关系,建议调试时先关闭AI模块建立基线,关注统计引擎配置,并建立温度监控机制。最后指出理解架构局限比追求完美设计更重要,需要针对不同场景找到合适的妥协方案。(148字)

sundong_81的博客 207

【智能流体力学】使用ANSYS Fluent + SpaceClaim + SCDM制作流体力学前处理的几何模型

生成来源.scdoc文件来自前处理工具生成的模型数据,或在 FLUENT 中创建和保存的模型。生成方式: 通过前处理工具导出网格数据,或在 FLUENT 中设置并保存模型。作用: 用于储存模型的结构信息和设置,确保在 FLUENT 中的正确导入和使用。.x_t文件是 Parasolid 文件格式的扩展名,用于存储三维模型数据。在 ANSYS Fluent 中,这种格式通常用于在前处理工具之间交换几何数据。要创建.x_t。

源代码杀手的博客 3265

解决方案: No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android

问题描述 最近在打开一个 Android 工程时,在导入到 Android Studio 后很快就会出现如下问题: 问题原因 这个问题的最根本原因是因为本地的 NDK 版本过高,而之前的工程在编译时使用的是老版本的 Gradle 插件,这样在打开工程进行同步时,老版本的插件会检查 NDK 中的两个工具链: mips64el-linux-android-4.9 mipsel-linux-andro...

李斯维的博客空间 1628

IDEA的使用指南

IDEA基于java的使用手册,可以最快速的上手,在使用中不断的丰富自己的使用技巧.

解决 No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android 的问题

No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android   过年回来突然发现项目运行报错, 解决方式 打开项目点击右键 如图 找到自己的ndk 所在的路径   /xxxxx/xxxxx/Library/Android/sdk/ndk-bundle 在命令...

攻城狮for Android 426

OV9734 DATASHEET,完整规格书

OV9734完整规格书,包括电气参数,尺寸规格,寄存器配置表等

汉书HE8,好用的汇编代码编写工具

汉书HE8,好用的汇编代码编写工具早期编写汇编代码所用功能强大

解决“No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android“的错误

今天安装了Android Studio 3.5,打开一个旧工程,编译提示"No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android" 方法一: 网上也有解决办法,就是下载旧版的NDK,将其中的toolchain复制到新版的NDK中 具体方法,请参考:https://...

liosen的博客 405

android 蓝牙通讯demo

android 下蓝牙通讯demo,实现了发现蓝牙,使能蓝牙,通过蓝牙发送消息。

分析解决No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android

今天用Android Studio 3.2 打开以前的项目,在Build的时候,报错了:   No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android   网上的解决方案是,去NDK官网,下载对应版本的NDK,然后把mips的放到自己的目录下,但是,这个NDK应该...

savelove911的专栏 345

No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android解决办法

当Studio版本升级到3.4以上,从SDK Manager下载的NDK不在支持老的项目了就会报错 提示的意思就是找不到mips64el-linux-android,这是在NDK r18b之前的版本才会有这个文件夹,r18b更新日志有一句话 This version of the NDK is incompatible with the Android Gradle plugin versio...

caobin_study的博客 363

解决ndk之No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android

当我们引入别人的项目 或者 查看一些第三方项目的时候 可能会出现这种错误. No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android 这是因为这个错误是由于Android3.0(当然也可能是更高的版本)开发环境的版本更新所导致的,或者我们的ndk版本不正确 首先检查一下...

qq_43143981的博客 537

解决"No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android"错误 2

解决"No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android"错误 2018年10月10日 22:47:29 vocanicy 阅读数:12347 今天安装了Android Studio 3.2,打开一个旧工程,编译提示"No toolchains found in...

jasonhongcn的专栏 426
上一篇: 解决-iOS: Thead 1: signal SIGABRT
下一篇: 解决-npm:Unexpected end of JSON input while parsing near XXX
Huang-Lin
博客等级 码龄10年 20粉丝 58原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值