Unresolved reference: GlideApp in activity written in Kotlin

Are using kapt instead of annotationprocessor in gradle file? V4 Generated API support Kotlin


For those like me who had used kapt as suggested by karandeep but still had the problem - you have to create an AppGlideModule implementation:

// AppGlideModule.kt
import com.bumptech.glide.annotation.GlideModule
import com.bumptech.glide.module.AppGlideModule

@GlideModule
class AppGlideModule : AppGlideModule()

After rebuilding the project GlideApp can be imported (generated code).

More at this medium post