NDK项目构建错误 ABIs [mips64, x86_64, arm64-v8a] are not available for platform and will be excluded from

本文介绍了三个常见开发问题:NDK包配置错误、URI注册问题和NativeLibs编译错误的解决方案。通过修改NDK路径、添加Schemas,以及调整本地配置,帮助开发者快速定位并修复这些问题。

问题:

Error:A problem occurred configuring project ':libxxx-1.0'.
> ABIs [mips64, x86_64, arm64-v8a] are not available for platform and will be excluded from building and packaging. Available ABIs are [armeabi, armeabi-v7a, x86, mips].

解决:

NDK包出错,重新下载对应NDK版本,指定路径即可。

 

问题:

URI is not registered (Settings | Languages & Frameworks | Schemas and DTDs)

解决:
1.打开File–>Settings–>Languages&Frameworks–>Schemas and DTDs 

2.点击加号,URI中填写:http://www.springframework.org/schema/beans 

 

问题:

Execution failed for task ':imacecg:transformNativeLibsWithStripDebugSymbolForRelease'.

解决:

进入local.properties文件中,将关于ndk的内容ndk-dir的语句删除

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值