I've got two Android applications (not libraries) on Android Studio:
- App A can be built and run on its own;
- App B can be built and run on its own, but needs App A as a dependency.
I've currently set up the hierarchy as instructed in this question (and similar ones), but the result is that the current state of App A was copied inside the App B project folder as a module, so any changes I make inside the actual source files in the project folder of App A are never visible from App B.
What I'd like to achieve is for App B to reference the source files in the App A project folder, and possibly take notice of the changes I make to App A source files in real time without having to manually rebuild/resync anything (i.e. if I delete a referenced variable in App A and save, Android Studio should immediately show the error in App B, etc...).
Basically how an extremely basic Ant project hierarchy you can set up with a couple clicks in Java IDEs would work.
How would I accomplish that in Android Studio?