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
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.
Download the plugin by going to Android Studio File/Setting/Plugins search for Android Wifi ADB and install it.
Now You may found AndroidWiFiADB Folder at path ==> C:\Users\PCUserName\AppData\Roaming\Google\AndroidStudio\Plugins , Cut the Android Wifi ADB Folder.
Now Paste That AndroidWiFiADB Folder at path ==> C:\Program Files\Android\Android Studio\plugins
Restart Android Studio And Enjoy Debugging through WiFi.
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
Go to this directory.
Find the plugin name and remove its folder totally.
Note: 'AppData' is a hidden folder by default.
For windows :
Download plugin zip file manually from official website
unzip the zip file and paste it in C:\Program Files\Android\Android Studio\plugins
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.
Plugins directory on MacOS:
/Users/{username}/Library/Application Support/Google/AndroidStudio4.1/plugins
Just remove the plugin from this directory.
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
MAC OS:
Download the plugin to local.
Unzip the plugin(.zip),you will see a folder named 'lib' which contains jars.
Right click the AndroidStuido icon, select "show package contents”.
Enter Contents/plugins directory, and make a new folder.
Then copy the 'lib' folder to the new folder.
Restart your AS.
Enjoy.
Solution for Android Studio Arctic Fox (2020.3.1) on macOS (should probably be not too different on Windows parring the path).
Yes Arctic Fox is version "2020.3".. it took me a while to realize that I wasn't on version 4.2 and I was actually on this version. I don't know why they chose "2020.3" for their version number for a 2021 update but whatever.
cd into this pwd:
cd ~/Library/Application\ Support/Google/AndroidStudio2020.3/plugins
delete AndroidWiFiADB
rm -rf AndroidWiFiADB
Search for the Android Wifi ADB plugin on plugins.Jetbrains or whatever plugin you want, it's this one here for Android Wifi ADB and download the zip file for the latest version manually.
Unzip it.
open the Android Studio plugins directory which lies in the / root directory with this command
open /Applications/Android\ Studio.app/Contents/plugins
Paste the unzipped folder here and restart your IDE. And voila! The Android Wifi ADB (or whatever plugin you were having issues with installing) now works!
We have such problem with new Android Studio 4.1 with custom plugin. Plugin supplied as zip archive.
Following steps solve it:
Unzip plugin manually into Android Studio/Contents/plugins (our plugin called exporter). You should have such structure: Android Studio/Contents/plugins/exporter/lib/somejars
Restart Android Studio
Plugin works!
P.S. For plugin developers. Our plugin intellij version (in build.gradle file):
intellij {
version 'IU-201.6668.121'
}
MAC OS
open Applications/Android\ Studio.app/Contents/plugins/
create folder
example parcelable/lib/parcelable.jar
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)
Mac:
~/Library/Application Support/Google/AndroidStudio4.1/plugins
find and delete the bad plugin folder
restart android studio
I'd that issue and solving it by
Remove that plugin if it still exists in android studio plugins
Install it again.
I had tried that and worked for me
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
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:
Reinstall the plugin
Disable it
In my case, I have this problem as a new type Plugin Error and Android Studio never open:
Then I found solution:
If you are using Sourcetree, close it. Then, open Android Studio. Then, open Sourcetree.
so I tried to download NDK from StandAlone SDK manager and it didn't have the option! then I went to google developers and read some guides and understood how to get it via android Studio
there was an NDK option in SDK manager -> SDK tools tab , I checked it and after applying it started downloading it, but for some reason after download, it fails to install it (tried 2 time it fails at end of unzipping process at like 100% :| ) ***Note: I have enough space available, 4gb on windows drive, 20gb on SDK drive
***Note2: I deleted the NDK bundle folder and its contents created by the failed install in my SDK folder
so I went to NDK Download
and downloaded the package from there , but I can't get it to work, gradle says "Error:NDK not configured.
Download it with SDK manager.)"
I tried adding the NDKfolder to PATH variable or adding NDK_HOME variable but still the same error
Update 1 : I added ANDROID_NDK_HOME variable now it says : Error:A problem occurred configuring project ':TMessagesProj'.
I had this issue of
Error:NDK not configured. Download it with SDK manager.)
But I solved my problem with this link: Add C and C++ to your Project
you can skip to the heading Download the NDK and Build Tools, but read everything for knowledge.
This error might be, your Android Studio is not able to find the NDK location.
So, try doing this: right click on your project in Android Studio,select "Open Module Settings", select SDK location tab, and provide SDK and NDK locations.
I want to build an APK from this GitHub repository:
https://github.com/SDLash3D/cs16-client/
How can I do it? (Please mention the name of the apps required (preferably for Windows) and the process)
To make a apk from this repo downlad android folder using git or any tool that you prefer.
And open android studio if don't have this down download it from this link
If you don't have the android sdk with you then download android studio bundle
http://developer.android.com/sdk/index.html
For this you will need jdk . If you don't have this dowload it and install it.
http://www.oracle.com/technetwork/java/javase/downloads/index.html
And add the jdk path as JAVA_HOME in environmental variable.
And install your android studio.
Then open the android studio and import downladed repo earlier.
Android studio will resolve the dependencies and after all is done you can build an apk from it.
You can get the apk from the app-build-output-apk folder.
Running ~/buildAPKs/build.github.bash https://github.com/SDLash3D/ will attempt to build APKs from all the AndroidManifest.xml files it finds at this GitHub account.
As https://github.com/SDLash3D/ currently has no AndroidManifest.xml files to build from, try ~/buildAPKs/build.github.bash https://github.com/BuildAPKs which should build many APKs for you from GitHub in Android on handheld as well as in Windows.
I'm trying to build Terminal Emulator for Android. I'm running Android Studio 1.4 in Kubuntu 15.04. I also tried building it in Ubuntu 14.04 LTS with the same results. The project requires the latest Android NDK, SDK 22, and SDK 11 which I've downloaded and configured in Android Studio. My system gradle version is 2.8, and Android Studio has downloaded some other versions internally. I'm using jdk1.8.0_65, which is set to JAVA_HOME and configured in Android Studio. I've built several other projects with my configured Android Studio and only seem to have a problem with this project. I need to use this project as a base for an app I'm developing.
I end up with same error, posted below, no matter what route I take to fix it in Android Studio. This is generally what I've done to try and get the project to work. I open up the project unmodified in Android Studio. I click Build >> Rebuild Project. I get an error telling me ndk implementation is deprecated. I add a file gradle.properties to the root directory of the project with the line android.useDeprecatedNdk=true and rebuild. It gives me an error: Task 'generateDebugTestSources' not found in project. I execute Sync Project With Gradle Files to resolve it. Then I end up with the following error and can't get past it.
Gradle 'Android-Terminal-Emulator-master' project refresh failed
Error:exception during working with external system:
or
Gradle sync failed: exception during working with external system:
Consult IDE log for more details (Help | Show Log)
idea.log
Things I've done to try and get the project to build:
Modify all of the project's build.gradle files to use the experimental plugin
Use different versions of Android Studio
Switch from openjdk to Oracle's jdk
Upgrade gradle to the latest version
Set gradle to default wrapper (default) and also set gradle to different versions
invalidate cache, remove ~/.gradle, and rebuild project
Make sure PATH includes the gradle and jdk bin directories and is in ~/.bashrc, ~/.profile, and ~/.zshrc
remove proguard from libtermexec library
reboot computer
I should note that the project builds without issue on the command line. I'd really like to get the project to build in Android Studio for development.
Install Arch and run Android Studio there.
I decided to try building Terminal Emulator on my Arch server, so I installed a xfce (Desktop Environment) and Android-Studio through pacman. I followed the same general path to get things setup, and the app built without issue.
The idea log Android Studio generated for the failed build on Windows and Ubuntu didn't point to any clear problem, even with --stacktrace enabled with gradle. I'm not going to waste my time figuring out why gradle doesn't want to build apps in Ubuntu or Windows.
I have downloaded android studio and sdk and everything required but when I start a new project studio starts downloading gradle which is already downloaded with android studio. If I try to stop that download, it can't be stopped, I need to shutdown my laptop.
Please tell me why this happens!
And if I import any project then it shows a message that gradle build failed and tells me to install build tools API Level 7 which NOBODY uses now a days. What's wrong with this studio??
I am using Ubuntu 14.04, .gradle directory of my home folder has files of more than 300 Mb I don't understand what this android studio keeps downloading.
Please help me fixing this problem
That is normal one time download of maven gradle dependencies and packages. However it usually takes a long time to download and build. Not sure what are the reasons for this.
Android studio contains gradle essentials, but for some reasons that is insufficient to run command line tools.
There is a workaround to skip this download by adding gradle repo directory to android studio settings (Configure --> Settings --> Gradle). You have to manually add GRADLE_HOME to the system PATH variable according to your operating system. Run gradle-v in command line to confirm everything works right.