I guess I have the same issue as <@U3K6VQZLJ> Aft...
# kapt
m
I guess I have the same issue as @eygraber After updating from Kotlin 1.1.2-5 to 1.1.4-2 I’m getting:
java.lang.IllegalStateException: failed to analyze: org.jetbrains.kotlin.kapt3.diagnostic.KaptError: Error while annotation processing
It says:
Copy code
:app:kaptDebugKotlin
e: /Users/mz/AndroidStudioProjects/Beta/app/build/tmp/kapt3/stubs/debug/com/beta/app/common/BaseDrawerActivity.java:15: error: type BroadcastReceiver does not take parameters
e: 

e:     private final android.content.BroadcastReceiver<com.beta.app.mvp.MvpDrawerActivityView, com.beta.app.mvp.MvpActivityPresenter> ignoreNotificationBroadcastReceiver = null;
e:                                                    ^
Where my code in
BaseDrawerActivity
looks like this:
Copy code
private val ignoreNotificationBroadcastReceiver = object : BroadcastReceiver() {
        override fun onReceive(context: Context?, intent: Intent?) {
            // ignore since it's shown in chat
            abortBroadcast()
        }
    }