Plugin ' ' is incompatible with this installation.

Hello there, I am having an issue with running the plugin in android studio. when I run my plugin using :runIde in IntelliJ IDEA plugin works perfectly  but when I try to run the plugin in the android studio using plugin's JAR file it shows--

"Plugin 'String Extractor' is incompatible with this installation." 

 

build.gradle

plugins {
id 'java'
id 'org.jetbrains.intellij' version '0.4.26'
id 'org.jetbrains.kotlin.jvm' version '1.3.72'


}

group 'com.easylokal'
version '0.0.1'

repositories {
mavenCentral()
}

dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
testCompile group: 'junit', name: 'junit', version: '4.12'
}

intellij {
version '2020.2.2'
plugins 'android'
pluginName 'StringExtractor'

}

compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}

plugin.xml

<idea-plugin>
<!-- <id>org.example.easylokal_plugin</id>-->
<id>com.easylokal</id>
<name>String Extractor</name>
<vendor email="easylokal.plugin@gmail.com" url="https://easylokal.com">EASYLOKAL</vendor>

<description>Fetch all hardcoded strings from XML, Java and Kotlin file in your android project.</description>

<depends>com.intellij.modules.platform</depends>

<extensions defaultExtensionNs="com.intellij">
</extensions>

<actions>
<group id="MyPlugin.TopMenu"
text="EasyLokal"
description="MyPlugin Toolbar Menu">
<add-to-group group-id="MainMenu" anchor="last"/>
<action id="StringExtractor"
class="StringExtractor"
text="_Extract Strings"
description="StringExtractor"/>
</group>
</actions>


<application-components>
<component>
<implementation-class>persistence.ConfigProvider</implementation-class>
</component>
</application-components>

</idea-plugin>

 

Android studio version

Android Studio 4.1.1
Build #AI-201.8743.12.41.6953283, built on November 5, 2020
Runtime version: 1.8.0_242-release-1644-b3-6222593 amd64

Thanks

Please sign in to leave a comment.