Issues with Importing Unity as Library in Android Studio

Hey everyone,

I’m currently working on a project where I need to export a Unity project as a library and import it into Android Studio. I’ve followed the steps to export the Unity project and include all necessary modules, but I’m running into the following error when I try to import it into Android Studio:

Cannot generate project dependency accessors because project mobilenotifications.androidlib doesn’t follow the naming convention: [a-zA-Z]([A-Za-z0-9\-_])*



I’m using the most recent Preview Version of Unity 6, and I’m not certain, if it has to do something with the gradle tool, because the mobilenotifications module (according to android studio) doesn’t follow the naming conventions and I would prefer not to manually change the module or directory name, but rather let Unity do all the work.

Has anyone encountered this problem before or have any suggestions on how to resolve it?

Any help would be greatly appreciated!
Thanks in advance