Plugin verifier false positive compatibility error report

Answered

I develop IDE plugin for Android Studio.

Here is project, that illustrates my problem:

https://github.com/evg64/HelloWorldPluginFromTemplate

This plugin is based on Plugin template. Here I do the following things:

  1.  add dependencies on Android Studio and Android plugin in plugin.xml: <depends>com.intellij.modules.androidstudio</depends> <depends>org.jetbrains.android</depends>,
  2. implement an action (com.github.evg64.helloworldpluginfromtemplate.actions.SyncProjectAction), that uses APIs from Android Studio (namely, com.android.tools.idea.gradle.project.sync.GradleSyncInvoker),
  3. specify build against Android Studio Koala - intellijPlatform { androidStudio("2024.1.1.11") } and corresponding android IDE plugin - plugin("org.jetbrains.android:241.15989.150"),
  4. specify 2 IDEs for verification: ide(IntelliJPlatformType.AndroidStudio, "2024.1.1.11"); ide(IntelliJPlatformType.AndroidStudio, "2024.2.2.12") (Koala and LadyBug),
  5. run ./gradlew verifyPlugin (macos),
  6. as a result, plugin verifier reports no problems with Koala (2024.1.1.11), but (for some reason) reports problems with LadyBug (2024.2.2.12).

I expect that this plugin is compatible with Android Studio LadyBug.

In my real project I get compatibility errors with every android API I use in my plugin. Why?

0
2 comments

I attached plugin verifier reports to github repository (folder "pluginVerifier" in repository root).

There is strange output in dependencies.txt (https://github.com/evg64/HelloWorldPluginFromTemplate/blob/main/pluginVerifier/AI-242.23726.103.2422.12785815/plugins/com.github.evg64.helloworldpluginfromtemplate/0.0.1/dependencies.txt):

+--- (failed) org.jetbrains.android: Plugin org.jetbrains.android doesn't have a build compatible with AI-242.23726.103.2422.12785815 in JetBrains Marketplace

It looks like android plugin was not resolved therefore all android dependencies are considered absent. Is it the case?

0

Hello,
currently, Plugin Verifier has issues with Android Studio or Android plugins. This is already under investigation. Sorry for the inconvenience.

0

Please sign in to leave a comment.