qosaangels.blogg.se

How to build an android studio plugin
How to build an android studio plugin











how to build an android studio plugin

In your Gradle build script, you should set both versions – build number and the release number – to the intellij.version property. In this case, the () version of the IntelliJ Platform is 211.7628.21 – marked with the blue rectangle – is corresponding to the IntelliJ IDEA version 2021.1.3. To find the version of the IntelliJ Platform used to build Android Studio, use the Android Studio About dialog screen. The Android Studio version presented below is 2021.1.1 Patch 1, but the 2021.1 part marked with the green rectangle refers to the IntelliJ IDEA release. The actual Android Studio version doesn't entirely reflect the () version of the IntelliJ Platform. The version number of Android Studio contains the version of the underlying IntelliJ Platform APIs that were used to build it. Matching Versions of the IntelliJ Platform with the Android Studio Versionįor API compatibility, it is essential to match the version of the IntelliJ Platform APIs used for plugin development with the target version of Android Studio. Some minor modifications to the skeleton project are needed, as discussed below. On the New Project Screen, choose IDE Plugin from the project generators list as described in the tutorial, not Android. The tutorial produces a skeleton project suitable to use as a starting point for an Android Studio plugin. To create a new Android Studio plugin project, follow the tutorial on the Getting Started with Gradle page. Configuring IntelliJ Platform Projects for Android Studio Plugin Development Once completed, plugins can be packaged and distributed at JetBrains Marketplace.Īndroid Studio plugins are not Android modules or apps to run in the Android operating system, such as smartphones or tablets. It's also helpful to be familiar with Java Swing. Plugins can be written in Kotlin or Java, or a mix of both, and are created using IntelliJ IDEA and the IntelliJ Platform. Android Studio plugins extend or add functionality to the Android Studio IDE.













How to build an android studio plugin