Android support in IDEA 2020.1 Ultimate is gone. (?)
Answered
So for years I was using IDEA and keeping up with updates. I work on a web/mobile project. Thus I use IDEA Ultimate as a single IDE for everything. However after updating to version 2020.1 the support for Android has vanished. The Android project is not recognized, there is no Android SDK option in Project Structure / SDK and nothing works in Android project anymore. Has the support for Android been dumped from IDEA Ultimate 2020.1? Or is this a bug of some sort. There is no option to make a new Android project either. Are we being forced to use multiple IDS now? Thanks.
Please sign in to leave a comment.
Is it empty? If the file gets populated with the plug-in names, they are disabled automatically on start due to some issue. One of the issues is that there is some conflicting plug-in is causing the problem. Did you remove the non-bundled plug-ins directory as well?
after a few delete of disabled_plugins.txt and restart - the files finally stopped showing up. but it still won't recognize the android project.
Did you delete the actual non-bundled plug-ins too? See several posts above for the exact locations you should check that contains the plug-in jar files that were downloaded from the marketplace. Did you restore the bundled IDEA_HOME\plugins directory? Does it contain Android plug-in?
Please share the actual logs via Help | Collect Logs and Diagnostic Data. You can upload the files at https://uploads.services.jetbrains.com/.
uploaded logs idea-logs-20200413-205619.zip
The below is not there when I looked at Help -> custom vm options
I restored IDEA_HOME/plugins (this is in the one under Roaming dir). I do not see any android directory here. But android is checked and enabled in the IDE's plugin screen.
The logs indicate that Android plug-in is still disabled:
It also shows that you have a lot of custom plug-ins downloaded:
These plug-ins are located in the following directory that you need to delete:
so I need to delete the disabled plugins only? Delete all custom plugins as well?
> The below is not there when I looked at Help -> custom vm options
It just means that your plug-ins are not managed by the Toolbox App and reside in the standard location per https://www.jetbrains.com/help/idea/2020.1/tuning-the-ide.html#plugins-directory .
> Delete all custom plugins as well?
Delete all the custom plug-ins. You can then bisect which one breaks Android by installing them again.
removed an d uploaded latest logs - still not working
From the logs:
Please check the disabled_plugins.txt again. Make sure it's empty, then start the IDE.
done -uploladed latest logs - still did not work
Close IDEA, upload disabled_plugins.txt to the server.
its empty
How does Android plug-in look like in Settings | Plugins?
uploaded
Do you use settings sync per https://www.jetbrains.com/help/idea/sharing-your-ide-settings.html ? Does it help if you disable it?
disabled but still the same thing. am trying to remove old versions of IDEA I installed through time and plan to re-install 2020.1 and see if it helps.
have not seen anything like before.
no dice
Try removing all the IDE folders (config/plugins/system) per https://intellij-support.jetbrains.com/hc/articles/206544519 to start with all the defaults.
tried removing under /Roaming/Jetbrains and /Local/Jetbrains to start a fresh install. But it seems like Roaming/Jetbrains/ can't be deleted - for some reasons folders keep coming back. Is there any background process that's doing this?
nothing seems to work :(
You can try relocating IDE folders to some different place outside of the Roaming per https://intellij-support.jetbrains.com/hc/articles/207240985.
same thing - no dice.
In my case, I didn't have any third-party plugins other than "Gauge" and I upgraded from 2019.3.x when I had this problem.
I resolved the issue by removing the installation and any leftovers and, then by reinstalling it.
Nomar Morado
It looks like IDE is importing the settings from the previous versions automatically on the first start with the clean settings.
Try to remove/rename the directories of 2019.3 and older versions so that nothing is imported on the clean start after you delete Roaming\JetBrains folder.
Note that 2019.3 and older versions store the settings and plugins in the different location than 2020.1, see https://intellij-support.jetbrains.com/hc/articles/206544519 for the details.
Serge Baranov
> Try removing all the non-bundled plug-ins.
A U Nikiforoff
> Perhaps you guys have some other third party plugins that cause the problem. Move them all to another directory and see if it solves the problem. Then add them back one by one. It would be nice to know what other plugins cause this problem...
Tried workarounds suggested by you, no luck. So, the only option which brought Android Support back is downgrading to 2019.3. version.
got no more time to tinker around 2020.1 before my demo. downgrading back to 2019.3 also.
never had this issue with IntelliJ this disruptive in the past.
hope we get to the bottom of this soon.
Please note that 2020.1 IDE version will import settings and plug-ins from the previous versions automatically on the first start. So either delete only plugins directory or delete all the previous IDE folders as well so that reimport doesn't happen again and incompatible plug-ins are no longer loaded in the IDE.
Anyway, these are known issues and should be fixed in the next update. You can use 2019.3.4 until the next update is released.
Serge - last night I was manually eyeballing the plugins and all of them are "bundled". Agree with you on auto import but it looks like there was no non-bundled plugins getting added.
Do you have an ETA on when the next patch is going out? And how will this fix this specific problem?
You can track the progress here:
https://youtrack.jetbrains.com/issue/IDEA-237662
https://youtrack.jetbrains.com/issue/IDEA-237554
https://youtrack.jetbrains.com/issue/IDEA-237407
https://youtrack.jetbrains.com/issue/IDEA-237661
No ETA at the moment.
Logging and UI should be clear about why a plug-in was disabled and not show disabled plug-ins as enabled. It will help to find which specific plug-in dependency affects Android and where this plug-in is located. Additional logging for importing settings will help to find from where the plug-ins were imported.