Generating UML diagram in Android Studio

Android Studio

What is the best tool for generating UML diagrams from Java source files in Android Studio? Are there any plugins similar to ObjectAid in Android Studio. There is no Visual Paradigm EE shown as described http://www.visual-paradigm.com/support/documents/vpuserguide/2381/2385/66578_creatingauml.html

56.2k 30 30 gold badges 207 207 silver badges 204 204 bronze badges asked Feb 9, 2015 at 10:45 Ranjana Dangol Ranjana Dangol 1,379 2 2 gold badges 13 13 silver badges 24 24 bronze badges possible duplicate of How to generate Class Diagram (UML) on android studio Commented Feb 9, 2015 at 11:30 # SOLUTION HERE: # stackoverflow.com/questions/17123384/… Commented Apr 6, 2015 at 16:27 I think this can help you. It helped for me stackoverflow.com/questions/17123384/… – user5399980 Commented Jun 1, 2016 at 11:58

3 Answers 3

Try Code Iris. You can install it in Android Studio as a plugin.

Open Android Studio Settings: File -> Settings. Look for Plugins, then hit "Browse repositories. " and type "Code Iris". Install and restart your IDE.

There is another plugin that could be interesting too, which is PlantUML. You may need to install Graphviz in order to make it work.

answered Oct 10, 2015 at 22:25 736 6 6 silver badges 10 10 bronze badges Code Iris 2.0-Beta does not work for me on MacOS 10.11 with Android Studio 2.3. Commented Mar 28, 2017 at 20:13 Code iris 1.11-beta works with Android studio 2.3.1 . Mac OS 10.12.3 Commented Apr 6, 2017 at 3:22 @JamesBond I was able to get it working by doing the Homebrew install. Commented Mar 3, 2018 at 7:10

Code Iris doesn't generate proper class diagrams. It produces diagrams, but they aren't class diagrams

Commented Jun 13, 2019 at 23:45

Two things you need to understand.

  1. You need to first install VP and then the plugin, for this to work.
  2. VP is tricking you to think it's available in the CE edition, when in fact it is not. They state at some point that this feature is only available for the Standard Edition and above. So the name of the plugin is tricking you into this. Thus you're limited to a 30 day trial.

. Visual Paradigm Community Edition supports running inside Eclipse, NetBeans, IntelliJ and Visual Studio. Without leaving your IDE, you can review your software design described in UML.

To install the plug-in:

The proper path to go is from the File item, go to Settings . Then in the new settings window, scroll down (left side) to Plugins . Click on it and the Plugins menu (sub-window) will open. At the bottom of that there is a button called Browse repositories. . Click on it, and there will be yet another window (phuh!) with a very long list of plugins. There are hundreds, so use the search bar in that window and type "Visual Paradigm", this will give you only one choice, the "Visual Paradigm SDE for IntelliJ IDEA (Community Edition)" . Click on it and then again on the right side, on the green button that says Install plugin . Accept the install and then restart AS.

To use the native windows app:

To create an UML from reversing the Java code in VP, look at this post.