I've trained a model in H2O and save it as MOJO following this tutorial.
Then, I've created a new Android app including the saved model and h2o-genmodel.jar
. Gradle build runs successfully, but when I try to run it on the Android phone I get the following error:
Installation did not succeed.
The application could not be installed: INSTALL_FAILED_NO_MATCHING_ABIS
Installation failed due to: 'null'
My guess is that the jar
file has been generated only for x86 and not arm chips, but I'd like to know if it's possible at all to run it on Android.
Actually it worked by using a Gradle dependency instead of loading jar file.
implementation 'ai.h2o:h2o-genmodel:3.28.0.3'
Thank you @hfarhanahmed and @TomKraljevic for your help.