I know this is not directly an Anko issue, but it seems to be of high interest to this library so I'm hoping that someone here will have a workaround for this. It appears that extention functions don't work across modules when using build tools 3.0.0-beta2 in Android Studio. Anko extension functions such as onClick will throw compile time errors Unresolved reference: onClick This is true for any extension functions or global functions. As soon as a function is placed into a class or object, it works again.
I know this is not directly an Anko issue, but it seems to be of high interest to this library so I'm hoping that someone here will have a workaround for this. It appears that extention functions don't work across modules when using build tools 3.0.0-beta2 in Android Studio. Anko extension functions such as
onClick
will throw compile time errorsUnresolved reference: onClick
This is true for any extension functions or global functions. As soon as a function is placed into a class or object, it works again.