Why when I use the aar file in my Android application it aborts with the message "'Could not load grammar vcard_grammar because the file could not be located.'" ?

Last modified by Sylvain Berfini on 2018/08/29 10:53

The grammar file is embedded inside the aar, but to be able to find it and load it correctly the Core needs to have the Android's context.

When you create your Core, you must give the Android context as the last parameter:

Core core = Factory.instance().createCore(null, null, this);
Tags: