I have problum can't call kotlin module from java module

hey bro i have problum can’t call kotlin module from java module

I use write #Kotlin I want import add modules java Library from github link : https://github.com/Riontech/CustomCalendar
i use work "calendar " and gane gradle file into project and write xml <com.riontech.calendar when i use mouse pointing and show log message “Cannot find declaration to go to” and i ran android and error . show logcat .

“android.view.InflateException: Binary XML file line #44: Binary XML file line #44: Error inflating class com.riontech.calendar”

Please Help I don’t Import modules library

Thank you

The problem is that the custom view is not com.riontech.calendar (that is the package name). You need to specify the class name of a custom view. Also the full error message is normally needed for help.

1 Like

thank you bro . . i edit implementation fileTree(dir: 'libs', include: ['*.jar']) . and call name modle implementation project(':calendar') . and Complie be completed