0

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)?

Pol
  • 3,848
  • 1
  • 38
  • 55

1 Answers1

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