I updated to Android studio 2.3 and my project got these errors
Error:org.gradle.process.internal.ExecException: A problem occurred starting process \'comman
I had the same problem when using NDK version 17.0.4754217
(maybe on newer versions, it doesn't happen).
You can workaround this issue by adding the following code in your gradle.build
:
packagingOptions{
doNotStrip '*/mips/*.so'
}
Or
packagingOptions{
doNotStrip '*/mips/*.so'
doNotStrip '*/mips64/*.so'
}
If you are using native code (C++), I recommend add the following code too:
ndk {
abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86' // <- only the supported ones
}
To make sure you won't embed any MIPS binary.