3

This always appear after changing the code I rebuild the project and everything goes fine Every time I change my code and run it, this appear and the second time I run the code, it doesn't appears, what is the cause of this bug ?

1
  • Please add code and error logs as text not as image! Commented Jun 16, 2017 at 10:12

1 Answer 1

11

check project package name and add kotlin plugin & dependencies.

  apply plugin: 'kotlin-android'

  classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
Sign up to request clarification or add additional context in comments.

1 Comment

And make sure you have this plugin enabled in the module where your activity is defined ;)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.