I’ve been upgrading various things recently, including Android Studio and Processing and Processing for Android.
And now I can’t compile sketches for Android in the Processing IDE anymore.
I’m getting this error message :
FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring project ':app'. > 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
This https://github.com/google/filament/issues/15 seems to suggest that this option for the NDK is deprecated. But that gradle needs to be updated to remove references to it.
I’ve tried to upgrade everything I know about. And I’m not calling the NDK from this Processing sketch, but maybe something behind the scenes is.
I’m using these in my sketch :
import android.media.AudioManager; import android.media.SoundPool; import android.content.Context; import android.app.Activity; import android.os.Build; import android.content.res.AssetFileDescriptor;
OTOH, I have the same error message with a minimal program that uses no extra libraries.
Is this something that needs to be fixed / updated in the Android Mode for Processing?
A month or so ago the same sketch was compiling, installing and running on Android fine.