mips64el-linux-android-strip not

作者: ReadyShow | 来源:发表于2018-05-18 14:54 被阅读701次

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去掉:


去掉NDK

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

为啥会报错?

有空再研究。。。

相关文章

网友评论

    本文标题:mips64el-linux-android-strip not

    本文链接:https://www.haomeiwen.com/subject/idegdftx.html