ismaeldivita / chip-navigation-bar

An android navigation bar widget
MIT License
877 stars 135 forks source link

Cannot resolve class com.ismaeldivita.chipnavigation.ChipNavigationBar #66

Closed ghost closed 3 years ago

ghost commented 3 years ago

Class referenced in the layout file, com.ismaeldivita.chipnavigation.ChipNavigationBar, was not found in the project or the libraries

ghost commented 3 years ago
    minSdkVersion 23

dependencies { implementation 'com.ismaeldivita.chipnavigation:chip-navigation-bar:1.3.3' implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" }

ismaeldivita commented 3 years ago

Library moved to jitpack

allprojects {
    repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
}
implementation 'com.github.ismaeldivita:chip-navigation-bar:1.3.4'
ashu9152 commented 3 years ago

still same error

fakhrulrz24 commented 3 years ago

@ismaeldivita same error still happens, could you give another solution?

ashu9152 commented 3 years ago

when i am using jcenter() without using maven { url 'https://jitpack.io' } it works. But when I remove jcenter() and add maven { url 'https://jitpack.io' } same error happens.

ismaeldivita commented 3 years ago

Please post your root and module build.gradle

ismaeldivita commented 3 years ago

https://github.com/ismaeldivita/chip-navigation-bar/pull/74

JaegerCodes commented 3 years ago

Solved by adding: maven { url 'https://jitpack.io' }

in: settings.gradle (Project Settings)

ThienPhuc2509 commented 2 years ago

Nice one, man

kanha-jii commented 1 year ago

when i am using jcenter() without using maven { url 'https://jitpack.io' } it works. But when I remove jcenter() and add maven { url 'https://jitpack.io' } same error happens.

thanks adding jcenter works for me

ErfanAzadi commented 1 year ago

Adding jcenter() just worked for me too, Thanks!