The question have basically two parts, because answers can "deactivate" other questions: Can I use android application projects (written in Android Studio) in a Unity game engine project somehow? If yes, the questions below are not important, but I think the answer is no.
There are Android java developers, and there are Unity game engine c# developers in here. Some of us need to create an Android Studio application project, and they should have some kind of visual surface for that during the debugging. After this, it would be better if they would be able to give the code to us as a library project, because a jar file should be created for the Unity, because the final surface of the app will be in Unity.
I know there are topics about "how to convert an application project into library project", and they works perfectly in a simple example project. But this can't be made easily, if the R method and R variable calls (or I don't know the name of that, R.id.something and R.something, etc.) are in a lot of java files. It's a lot of work cutting them out. I simply can't build the library app, if it has these R things in them. It was the case in a big Android application project, but I don't know if there would be a good workflow idea for a new project.
Since I'm not an android developer, I don't know how should this workflow in a new project to be made easily. Any idea?
The "R" in android development refers to the R class used to access the
resfolder in an android project, wich contains all other resources needed (images, layouts, strings)Unity allows you to access native and custom plugins that you can import to your editor, I recomend giving a good read to the official documentation to Plugins for android in the unity website
https://docs.unity3d.com/Manual/PluginsForAndroid.html