97
votes

Plugin Error

Plugin "Android WiFi ADB" is incompatible (supported only in IntelliJ IDEA). Plugin "Name That Color" is incompatible (supported only in IntelliJ IDEA). Plugin "Json2Pojo" is incompatible (supported only in IntelliJ IDEA).

I tried to install the plugin "Android WiFi ADB", "Name That Color", "Android WiFi ADB", etc in Android Studio 4.1, but I faced this error. Can anyone help me with this?

Errors screenshot

1

Software Detail

Android Studio 4.1

Build #AI-201.8743.12.41.6858069, built on September 23, 2020

Runtime version: 1.8.0_242-release-1644-b01 amd64

VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o

Windows 10 10.0

GC: ParNew, ConcurrentMarkSweep

Memory: 1246M

Cores: 4

Registry: ide.new.welcome.screen.force=true

Non-Bundled Plugins: com.thoughtworks.gauge, org.intellij.plugins.markdown, org.jetbrains.kotlin

16
I'm using linux, solved by removing folder: AndroidWiFiADB from path: /home/p2pdops/.local/share/Google/AndroidStudio4.1... - p2pdops

16 Answers

118
votes

Some older plugins are no longer compatible with the latest Android Studio (4.1 right now). Also, they seem to have changed the location of the plugins folder with this new version.

You will have to uninstall the plugin. In my case, I couldn't see the plugin listed in the IDE settings. I had to manually find and delete the file.

Currently, plugins are located in the following directories (make sure to change the android version number in the path if your software version is different; versions below 3 are located differently as detailed here):

Windows (ctrl+L in the explorer then paste it): %APPDATA%\Google\AndroidStudio4.1\plugins

MacOS: ~/Library/Application Support/Google/AndroidStudio4.1/plugins

linux: ~/.config/Google/AndroidStudio4.1/plugins or ~/.local/share/Google/AndroidStudio4.1/

Delete the plugins there and the error should be gone.

14
votes
  1. Download the plugin by going to Android Studio File/Setting/Plugins search for Android Wifi ADB and install it.

  2. Now You may found AndroidWiFiADB Folder at path ==> C:\Users\PCUserName\AppData\Roaming\Google\AndroidStudio\Plugins , Cut the Android Wifi ADB Folder.

  3. Now Paste That AndroidWiFiADB Folder at path ==> C:\Program Files\Android\Android Studio\plugins

  4. Restart Android Studio And Enjoy Debugging through WiFi.

13
votes

I've just updated the studio to 4.1 and got the same issue with the above-mentioned libraries. Below is my approach to fix this without rely on a third party in the case of ADB WIFi and for other plugins we need to wait developer to make changes according to the latest android studio.

Connect to a device over Wi-Fi (Android 10 and lower)

Step 1:

Connect the device to the host computer with a USB cable.

Step 2:

Set the target device to listen for a TCP/IP connection on port 5555
 adb tcpip 5555

Step 3:

Disconnect the USB cable from the target device.

Step 4:

Find the IP address of the Android device. For example, on a Nexus device, 
you can find the IP address at Settings > About tablet (or About phone) > Status > IP address. Or, on a Wear OS device, you can find the IP address at Settings > Wi-Fi Settings > Advanced > IP address. 

Step 5:

Connect to the device by its IP address
 adb connect device_ip_address

Step 8:

Confirm that your host computer is connected to the target device: 
adb devices
12
votes
  1. Go to this directory.
  2. Find the plugin name and remove its folder totally.

Note: 'AppData' is a hidden folder by default.

enter image description here

7
votes

For windows :

  1. Download plugin zip file manually from official website
  2. unzip the zip file and paste it in C:\Program Files\Android\Android Studio\plugins
  3. Restart your Android Studio

For getting rid of that incompatible plugins warning, you can follow above answer (by @asim), if your are not able to see AppData folder then it means it is in hidden items.

7
votes

Plugins directory on MacOS:

/Users/{username}/Library/Application Support/Google/AndroidStudio4.1/plugins

Just remove the plugin from this directory.

5
votes

You need to wait for the plugin developer to add support for the new android studio version and then update plugins or install the old android studio

3
votes

MAC OS:

  1. Download the plugin to local.
  2. Unzip the plugin(.zip),you will see a folder named 'lib' which contains jars.
  3. Right click the AndroidStuido icon, select "show package contents”.
  4. Enter Contents/plugins directory, and make a new folder.
  5. Then copy the 'lib' folder to the new folder.
  6. Restart your AS.
  7. Enjoy.
2
votes

We have such problem with new Android Studio 4.1 with custom plugin. Plugin supplied as zip archive. Following steps solve it:

  1. Unzip plugin manually into Android Studio/Contents/plugins (our plugin called exporter). You should have such structure: Android Studio/Contents/plugins/exporter/lib/somejars enter image description here
  2. Restart Android Studio
  3. Plugin works!

P.S. For plugin developers. Our plugin intellij version (in build.gradle file):

intellij {
    version 'IU-201.6668.121'
}
1
votes

MAC OS

  1. open Applications/Android\ Studio.app/Contents/plugins/
  2. create folder
  3. example parcelable/lib/parcelable.jar
1
votes

The easiest and most effective method to fix the old plugins:
1- Delete the old jar file (bonus point: cut & paste it somewhere else and keep it for the next step) from this location (Thanks @Asim for the location):

C:\Users\*username*\AppData\Roaming\Google\AndroidStudio4.1\plugins

2- In Android Studio go to File -> Settings -> Plugins.
There are 2 tabs here: Marketplace and Installed. forget them! Click the gear icon next to the Installed tab. choose Install plugin from disk.... locate your jar file from the previous step or redownload it from the official marketplace manually (in my case: this plugin)

Done. Enjoy your favorite plugin.

  • Bonus tip: Android studio may still keep showing errors about compatibility issues. in my case, some plugins worked fine and some plugins (looking at you Butterknife Zelezny!) crashed and broke the syntax highlighting system! who uses that feature, right? unless you actually code in the android studio directly and don't copy & paste from StackOverflow! anyway, if you ended up in some weird situation and you don't know who to blame, good news! Android studio got your back! make sure to check the android studio log file here: C:\Users\*username*\AppData\Local\Google\AndroidStudio4.1\log\idea.log And see if any plugin is causing instability (look for the Plugin to blame phrase in the log file if there is any)
0
votes

Mac:

~/Library/Application Support/Google/AndroidStudio4.1/plugins

find and delete the bad plugin folder

restart android studio

0
votes

I'd that issue and solving it by

  1. Remove that plugin if it still exists in android studio plugins
  2. Install it again.

I had tried that and worked for me

0
votes

Mac: Delete the entire folder。

(/Users/XXX/Library/Application\ Support/Google/AndroidStudio4.1)

reboot android studio,and reset AS。now you can install AS plugins。

Windows should do the same

0
votes

I had the same issue with Dimenify plugin and the error kept showing even after remove the folder from 'plugins' directory.
The solution that worked for me, from marketplace:

  1. Reinstall the plugin
  2. Disable it
0
votes

In my case, I have this problem as a new type Plugin Error and Android Studio never open: enter image description here

Then I found solution:

If you are using Sourcetree, close it. Then, open Android Studio. Then, open Sourcetree.