Looks like this was already reported last year. You can see @kevinstadler’s fix at the bottom. I haven’t confirmed it that works or not.
Cannot build Android Mode sketch that uses any native code libraries · Issue #738 · processing/processing-android (github.com)
1 Like