I'm trying to upgrade my plugin for Android Studio 4.0, and I used to do
Which would return e.g. "app" but now returns "projectName.app".
Can you confirm this is correct? I can't see anything in the release notes back to 2019.3, and I can't find any mention of changing the project structure in the Android Studio release notes either, other than that they updated to 2020.
If that's correct then I will use
ModuleManager.getInstance(project).getModules().replace(projectName + ".","");
but I would like to confirm that with you before releasing.
Thanks very much