Skip to content
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

Make the project compile with Android gradle plugin version 3.2.1 #1141

Closed
martinbonnin opened this issue Dec 1, 2018 · 2 comments
Closed

Comments

@martinbonnin
Copy link
Contributor

martinbonnin commented Dec 1, 2018

Using master, ./gradlew build fails with No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android. This is the same issue as this one.

This can be workaround'd by tricking the old apollo plugin into thinking there is a mips toolchain as described in the other issue: mkdir -p $ANDROID_HOME/ndk-bundle/toolchains/mips64el-linux-android/prebuilt/linux-x86_64

Nonetheless, it would be nice to update the apollo plugin version but this currently fails with:

/home/martin/git/apollo-android/apollo-gradle-plugin/src/main/java/com/apollographql/apollo/gradle/CodegenGenerationTaskCommandArgsBuilder.java:136: error: <anonymous com.apollographql.apollo.gradle.CodegenGenerationTaskCommandArgsBuilder$2> is not abstract and does not override abstract method test(File) in Predicate
  schemaQueryMap.put(normalizedSchemaFileName, new ApolloCodegenIRArgs(f, FluentIterable.from(files).filter(new Predicate<File>() {

So I guess a classpath issue somewhere....

@sav007
Copy link
Contributor

sav007 commented Dec 6, 2018

Should we close it now?

@martinbonnin
Copy link
Contributor Author

Yup :thumsup:

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

No branches or pull requests

2 participants