Closed Mustangodhra closed 3 years ago
Hi, Although I don't encounter this problem, I also use java with this package. The editor I use is android studio. Just share some experience and show in the following:
buildscript {
ext.kotlin_version = '1.3.30'
ext.gradle_version = '3.1.0'
repositories {
google()
jcenter()
}
dependencies {
classpath "com.android.tools.build:gradle:$gradle_version"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
apply plugin: 'kotlin-android'
dependencies {
implementation 'com.ismaeldivita.chipnavigation:chip-navigation-bar:1.3.4'
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
}
Sync now
text and rebuild the project. Closing due inactivity
when i use the dependencies, the "tools:context" field of every layout file shows error. i am using it with java so used this dependencies:
the error shows " Unresolved class 'class_name' ". please help me with this.