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:
- add dependencies on Android Studio and Android plugin in plugin.xml:
<depends>com.intellij.modules.androidstudio</depends> <depends>org.jetbrains.android</depends>
, - implement an action (
com.github.evg64.helloworldpluginfromtemplate.actions.SyncProjectAction
), that uses APIs from Android Studio (namely,com.android.tools.idea.gradle.project.sync.GradleSyncInvoker
), - specify build against Android Studio Koala -
intellijPlatform { androidStudio("2024.1.1.11") }
and corresponding android IDE plugin -plugin("org.jetbrains.android:241.15989.150")
, - specify 2 IDEs for verification:
ide(IntelliJPlatformType.AndroidStudio, "2024.1.1.11"); ide(IntelliJPlatformType.AndroidStudio, "2024.2.2.12")
(Koala and LadyBug), - run
./gradlew verifyPlugin
(macos), - 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?
Please sign in to leave a comment.
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):
It looks like android plugin was not resolved therefore all android dependencies are considered absent. Is it the case?
Hello,
currently, Plugin Verifier has issues with Android Studio or Android plugins. This is already under investigation. Sorry for the inconvenience.