I'm having a hard time updating to Android Studio ...
# android
y
I'm having a hard time updating to Android Studio 3.0 beta2. I'm using Kotlin
1.2-M2
and build tools
26.0.1
everything is working except extension functions across modules. I have one module
sdk
, then modules
wear
and
app
. In
sdk
I have a simple extension function:
Copy code
fun Context.hasPermission(permission: String): Boolean =
        ContextCompat.checkSelfPermission(this, permission) == PackageManager.PERMISSION_GRANTED
But when I use it outside of the
sdk
module I'm getting
Unresolved reference: hasPermission
(this wasn't the case before updating to build tools 26 / Android Studio 3.0. Does anyone know if I need to do anything special to export extension functions to other modules?