Android Studio 4.1 Plugin Error: Plugin * is incompatible (supported only in IntelliJ IDEA)

怎甘沉沦 提交于 2020-11-24 11:55:04

问题


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

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


回答1:


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.

The new plugin location is:

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

Delete the plugins there and the error should be gone.




回答2:


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



回答3:


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




回答4:


Download the plugin manually from official site here

And add the Folder 📂 WIFI_ADB_ULTIMATE in the plugins folder

You may found it at path ==> C:\Program Files\Android\Android Studio\plugins

That works for me




回答5:


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
  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'
}



回答6:


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.



回答7:


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.




回答8:


MAC OS

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



回答9:


Mac:

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

find and delete the bad plugin folder

restart android studio




回答10:


Plugins directory on MacOS:

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

Just remove the plugin from this directory.




回答11:


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



来源:https://stackoverflow.com/questions/64347831/android-studio-4-1-plugin-error-plugin-is-incompatible-supported-only-in-int

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!