어제와 똑같이 살면서 다른 미래를 기대하지 말자

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

IT관심분야/Cordova

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

플랜액터 2018. 11. 14. 16:06

$ cordova run android

Android Studio project detected

ANDROID_HOME=/Users/planactor/Library/Android/sdk

JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home

studio

Subproject Path: CordovaLib

Subproject Path: app

publishNonDefault is deprecated and has no effect anymore. All variants are now published.


FAILURE: Build failed with an exception.


* What went wrong:

A problem occurred configuring project ':CordovaLib'.

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


* Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.


* Get more help at https://help.gradle.org


BUILD FAILED in 1s

/Users/planactor/Documents/Workspace/hello/platforms/android/gradlew: Command failed with exit code 1 Error output:

FAILURE: Build failed with an exception.


* What went wrong:

A problem occurred configuring project ':CordovaLib'.

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


* Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.


* Get more help at https://help.gradle.org


BUILD FAILED in 1s


안드로이드 에뮬레이터 실행 시 위와 같은 에러가 발생한다면 아래 방법으로 해결이 가능합니다.


$ cd ~/Library/Android/sdk/ndk-bundle/toolchains/

$ ln -s aarch64-linux-android-4.9 mips64el-linux-android

$ ln -s arm-linux-androideabi-4.9 mipsel-linux-android


Comments