Skip to content

Can't instantiate HitsSearch or any InstantSearch class #386

Open
@iaglourenco

Description

@iaglourenco

Describe the bug 🐛
I can't instantiate any class of com.algolia:instantsearch-android:3.+

To Reproduce 🔍
Type this line in any activity
HitsSearcher searcher = new HitsSearcher();

Expected behavior 💭
Resolve the class names

Screenshot
image

Here i've tried to use the AutoComplete of Android Studio to find the class
(Using v3.+)

Environment:

  • OS: Android Studio / Linux
  • Library Version 3.1.7

Additional context
I'm using Java to develop, i've tried to test with v1.+ and the class names have been resolved succesfully.
I've this issue in v2.+ and v3.+

Is there support for Java or the library is only for Kotlin projects?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions