Add instructions for running the shared lib from android studio

Fixes: 188721629
Test: Manually
Change-Id: I241ed373872de6bd0ccacf9f7ef2bbd2bc08f6e5
diff --git a/car-ui-lib/README.md b/car-ui-lib/README.md
index dee7891..8cb8c39 100644
--- a/car-ui-lib/README.md
+++ b/car-ui-lib/README.md
@@ -35,6 +35,12 @@
 
 If it launches a LeakCanary activity instead of PaintBooth, either exit LeakCanary and launch PaintBooth as normal through the car's launcher, or click on the PaintBooth module > Edit configurations > Change "Launch: Default Activity" to "Specified Activity", and enter `com.android.car.ui.paintbooth.MainActivity`.
 
+### Building and running the shared library
+
+Setting up the shared library is mostly the same as setting up paintbooth. However, when you attempt to install the shared library, Android Studio will complain it can't launch any activity (despite the installation succeeding), and your changes won't properly show up. To fix these issues, edit the shared library configuration, change the "Launch:" option to launch nothing, and check the "Always install with package manager (disables deployment optimizations on Android 11 and higher)" button. This checkbox shouldn't be required after b/188220380 is fixed.
+
+![Shared library setup](documentation/images/shared_library_setup.png)
+
 ### Running tests
 
 Once you've set up paintbooth as described above, just open one of the test classes in car-ui-lib > java > com.android.car.ui (androidTest) and click the green arrow next to one of the tests to run it:
diff --git a/car-ui-lib/documentation/images/shared_library_setup.png b/car-ui-lib/documentation/images/shared_library_setup.png
new file mode 100644
index 0000000..8aac255
--- /dev/null
+++ b/car-ui-lib/documentation/images/shared_library_setup.png
Binary files differ