I have tried many time using android annotations library in activity with @EActivity. but unfortunately i am failed to declare it in the manifest file with MainActivity_.
@EActivity
class MainActivity : AppCompatActivity(){}
in manifest file
<activity android:name=".MainActivity_">
in this .MainActivity_ not found .
You probably need to enable kapt (Kotlin Annotation Processing) in your project.
apply plugin: 'kotlin-kapt'
dependencies {
kapt "org.androidannotations:androidannotations:$AAVersion"
}
Please see https://kotlinlang.org/docs/reference/kapt.html for reference and https://github.com/androidannotations/androidannotations/tree/master/examples/kotlin for an example.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With