j

    jdiaz

    1 year ago
    Has anyone had trouble with indexing common dependencies? I add a dependency to the common and IntelliJ does't show it though I can write the import and use the class and build with
    gradlew build
    just fine
    Landry Norris

    Landry Norris

    1 year ago
    I get this sometimes. Invalidate Caches and Restart Android Studio typically works.
    j

    jdiaz

    1 year ago
    Have restarted/invalidated caches for a while now. Adding the jvm target with -jvm suffix works fine, but in common without any suffix doesn't work
    Landry Norris

    Landry Norris

    1 year ago
    That's interesting. Have you tried searching https://mvnrepository.com/ for the non-jvm name? Some libraries have different URLs than you would expect.
    j

    jdiaz

    1 year ago
    It's my own library hosted on JB Space, actually just copypasta the gradle import. The thing is that it works on gradle just not on intellij