【发布时间】:2019-03-22 03:52:44
【问题描述】:
我有一个不使用 NDK 的 Android 项目。jet Gradle 正在寻找 NDK。
要么我得到这个错误:
No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android
或者我收到这个警告:
NDK is missing a "platforms" directory.
If you are using NDK, verify the ndk.dir is set to a valid NDK directory. It is currently set to /opt/local/share/java/android-sdk-macosx/ndk-bundle.
If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.
即使 ANDROID_NDK_HOME 和 ndk.dir 未设置。有没有办法在没有那些烦人的消息的情况下构建系统?
【问题讨论】:
标签: android android-studio android-ndk android-gradle-plugin