-
Notifications
You must be signed in to change notification settings - Fork 258
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to use Clang as part of Android Studio #28
Comments
I have the same issue. Also, with the updated Android NDK, Revision 11b. |
I think you're going to need to upgrade to the latest experimental plugin. Studio 2.0: com.android.tools.build:gradle-experimental:0.6.0-beta7 |
I have Android Studio 1.5.1, the latest official release with How do you know what's the latest experimental gradle available? The official page only lists 0.4.0 and 0.6.0-alpha3: http://tools.android.com/tech-docs/new-build-system/gradle-experimental. This whole thing is such a mess 😞 |
I walked over to the gradle lead and asked him. :) It is a mess. Sorry, we're working on it. |
Please start by spending 10 minutes updating http://tools.android.com/tech-docs/new-build-system/gradle-experimental. The list of versions in "Gradle Requirements", "DSL Change" and "Change Log" are completely out of sync. Just fixing this so there's one source of reliable truth will help a number of people. Thanks! In the meantime, what's the latest stable version of that plugin I can use with Android Studio 1.5.1? |
I am trying to use Clang to compile under Android Studio and got the same error. |
Closing since this isn't an NDK bug. Gradle/Android Studio bugs should be filed on b.android.com (http://tools.android.com/filing-bugs/studio) |
With the previous NDK bundle from Android Studio, you could tell Gradle to use Clang toolchain to compile the JNI library as in:
With the new NDK bundle 11.0.0, this doesn't work anymore, with or without
toolchainVersion
and even if usingllvm
instead ofclang
fortoolchain
.The text was updated successfully, but these errors were encountered: