Skip to content
This repository has been archived by the owner on Nov 8, 2019. It is now read-only.

./gradlew --no-daemon --console=plain extractNDK Fails with recent NDK #599

Open
bluemarvin opened this issue Jan 15, 2019 · 4 comments
Open

Comments

@bluemarvin
Copy link

Extracting the with r18b NDK installed fails. Looks like the gradle version needs to be updated.

This is from a clean clone of master (commit ffda940):

>> ./gradlew --no-daemon --console=plain extractNDK

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':samples-sdk-controllerclient'.
> No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

* Get more help at https://help.gradle.org

BUILD FAILED in 4s
@sigmaxipi
Copy link

Thanks for pointing it out.

This happens if you use NDK r17c (Jun '18) or greater which removed MIPS support. As a workaround, change the root build.gradle to use 3.2.1 and gradle/wrapper/gradle-wrapper.properties to use 4.6

We'll update the default version & config.

@sigmaxipi
Copy link

Updating the gradle version also causes some Lint errors so you may need to update the various build.gradle and AndroidManifest.xml files to properly selection SDK 26+

@sewasewa777
Copy link

ffda940

@sewasewa777
Copy link

#599

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants