Notification of update Follow
I had android studio plugin path in .AndroidStudio3.6 folder. Now, when Android Studio is updated and plugin path is changed to .AndroidStudio4.0 folder.
The problem is my custom plugin needs this path location for some analysis. But, from the system cache/settings, it is locating the previous .AndroidStudio3.6 path.
So, I want to change this custom path automatically when any Android Studio update is available. How do I get this update notification from code/message bus?
Please sign in to leave a comment.
Taslima,
In general, you should not refer to that directory using the absolute path - I assume that you've set it somewhere in the plugin's preferences and it didn't get updated automatically, right?
Yes. I have set path like this:
It was referring to .AndroidStudio3.6. Now, after update to .AndroidStudio4.0, it's not referring to 4.0 automatically. So, I want to set a condition in my code, if there are any update, it should change the path to updated path.
How should I solve this problem?
This path should be resolved correctly in the runtime depending on the IDE that you use. Do you store such a path anywhere?
I'm sorry, but I have not enough information regarding your issue, so I have to guess which I'd like to avoid.
It takes the path on runtime. But I had to restart Android Studio several times for that. It was stored as persistant component in config.xml.