Android Studio 3.2 - a new problems!

Android Studio 3.2 - a new problems!
0

#1

Just upgraded to newly available Android Studio 3.2 on OSX and cannot run new projects in it: every time i’m create new project via “cocos new” and try to open it, Android studio generate configure build error: “No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android”. Can anybody help?


#2

Uff… managed to solve. Case closed.


#3

How did you fix it? Chose a lower NDK version? This would be interesting for other users as well.


#4

Solution

Without downloading, updating, or copying anything , you can “fix” the error by simply creating an empty directory where the old version expects it.

Linux

mkdir -p $ANDROID_HOME/ndk-bundle/toolchains/mips64el-linux-android/prebuilt/linux-x86_64

MacOS

mkdir -p $ANDROID_HOME/ndk-bundle/toolchains/mips64el-linux-android/prebuilt/darwin-x86_64

Windows

mkdir %ANDROID_HOME%\ndk-bundle\toolchains\mips64el-linux-android\prebuilt\windows-x86_64

The ANDROID_HOME environment variable points to the the root of the Android SDK installation.

But i’m just create those folders by hand.