android mips64,mips64el-linux-android-strip not found

AndroidStudio NDK的一个问题

最近这几天,AndroidStudio抽风,总是报错mips64el-linux-android-strip找不到。

主要是由NDK引起的,我想自己也没有用NDK方面的东西啊。

第一种解决办法:

发现一种解决办法是将local.properties文件中的ndk.dir中的bundle改成任意数字。

如:

## This file must *NOT* be checked into Version Control Systems,

# as it contains information specific to your local configuration.

#

# Location of the SDK. This is only used by Gradle.

# For customization when using a Version Control System, please read the

# header note.

#Fri May 18 14:04:38 CST 2018

ndk.dir=/Users/jian/Library/Android/sdk/ndk-bundle

sdk.dir=/Users/jian/Library/Android/sdk

改为:

## This file must *NOT* be checked into Version Control Systems,

# as it contains information specific to your local configuration.

#

# Location of the SDK. This is only used by Gradle.

# For customization when using a Version Control System, please read the

# header note.

#Fri May 18 14:04:38 CST 2018

ndk.dir=/Users/jian/Library/Android/sdk/ndk-10

sdk.dir=/Users/jian/Library/Android/sdk

这种方法可用,但是不够完美。gradle会自动修改local.properties内的配置。

第二种解决办法:

将SDK Tools中的NDK去掉:

aa3bee276c4f

去掉NDK

这种方式很友好,再也不报错了。

为啥会报错?

有空再研究。。。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值