When using the Gradle Experimental NDK plug-in in Android Studio, how do you configure the Gradle build settings to build using Clang vs GCC (which has been deprecated)?
Asked
Active
Viewed 616 times
0
-
`model { android { ndk { toolchain "clang" } } }` ? – Michael Jun 25 '16 at 12:07
1 Answers
0
Have you tried to specify
toolchain = 'gcc'
in the model.android.ndk block in your build.gradle?
You can see the toolchains here: https://docs.gradle.org/current/javadoc/org/gradle/nativeplatform/toolchain/package-summary.html

IgorGanapolsky
- 26,189
- 23
- 116
- 147
-
Ah, that might be it. Will try when I get back to this problem. Thanks for the link! – Pol Jul 25 '16 at 16:47