Skip to content

Error when I want to use file importer (FLL format) #14

@ghost

Description

I'm trying to use the next code in Java for Android:

InputStream inputStream = context.getAssets().open("FuzzyRules.fll");
String content = IOUtils.toString(inputStream);
Engine engine = new FllImporter().fromString(content);

The content of file is the example ObstacleAvoidance (I just copy and paste). I validated the content in String and it is correct. I get and error when the Engine is built. The error obtained is:
java.lang.RuntimeException: [import error] expected a colon at here:

Is there any clue about that Error? thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions