java.lang.NoSuchMethodError: com.intellij.notification.NotificationGroup.

Answered

I used intellij IDEA to develop an Android plugin, and I tested it in the local environment without any problems. After I released this plugin, some users got the following error in Android Studio:

java.lang.NoSuchMethodError: com.intellij.notification.NotificationGroup.<init>(Ljava/lang/String;Lcom/intellij/notification/NotificationDisplayType;ZLjava/lang/String;Ljavax/swing/Icon;ILkotlin/jvm/internal/DefaultConstructorMarker;)V

I want to ask if there is any solution to this problem。

1 comment
Comment actions Permalink

Please avoid using NotificationGroup programmatically, switch to declaration in `com.intellij.notificationGroup` extension point, see https://plugins.jetbrains.com/docs/intellij/notifications.html#top-level-notifications-balloons

 

checking regarding binary incompatibility..

0

Please sign in to leave a comment.